Documentation ¶
Index ¶
- Constants
- func ChooseIndex(maxLen int) int
- func DebugJSON(data interface{})
- func DebugSave(data interface{})
- func GetBody(client *http.Client, URL string) ([]byte, error)
- func GetJSONBody(client *http.Client, url string) (map[string]interface{}, error)
- func IsURL(str string) bool
- func PostBody(client *http.Client, URL string, data url.Values) ([]byte, error)
- func RandString(n int) string
- func Scanline() string
- func ScanlineTrim() string
- func YesOrNo(note string) bool
Constants ¶
View Source
const CHA = "abcdefghijklmnopqrstuvwxyz0123456789"
CHA map
Variables ¶
This section is empty.
Functions ¶
func DebugSave ¶ added in v0.9.0
func DebugSave(data interface{})
DebugSave write data to temperory file
func GetJSONBody ¶ added in v1.0.0
GetJSONBody read json body
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.