Add how to
This commit is contained in:
parent
770959f44c
commit
cafc2a8f98
19
main.go
19
main.go
|
@ -20,14 +20,17 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
ADDRESS = "http://localhost:9900"
|
ADDRESS = "http://localhost:9900"
|
||||||
LENGTH = 6
|
LENGTH = 6
|
||||||
TEXT = "$ <command> | curl -F 'p=<-' " + ADDRESS + "\n"
|
PASTEARGS = ADDRESS + "/p/{PASTE}/(python|language)\n"
|
||||||
PORT = ":9900"
|
URLARGS = ADDRESS + "save/XML|JSON\n"
|
||||||
USERNAME = ""
|
SOURCE = "Source: https://github.com/ewhal/Pastebin\n"
|
||||||
PASS = ""
|
TEXT = "$ <command> | curl -F 'p=<-' " + ADDRESS + "\n" + PASTEARGS + URLARGS + SOURCE
|
||||||
NAME = ""
|
PORT = ":9900"
|
||||||
DATABASE = USERNAME + ":" + PASS + "@/" + NAME + "?charset=utf8"
|
USERNAME = ""
|
||||||
|
PASS = ""
|
||||||
|
NAME = ""
|
||||||
|
DATABASE = USERNAME + ":" + PASS + "@/" + NAME + "?charset=utf8"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Response struct {
|
type Response struct {
|
||||||
|
|
Loading…
Reference in New Issue