Documentation ¶
Index ¶
- Variables
- func ConfigInit()
- func ConfigReload()
- func CookieValueByName(cookies []*http.Cookie, name string, fallback string) string
- func CreateRequest(method, url string, data map[string]string, options *Options) (resCode float64, resResp []byte, resCookies []*http.Cookie)
- func Eapi(url string, data map[string]interface{}) map[string]string
- func Linuxapi(data map[string]interface{}) map[string]string
- func NewLen16Rand() ([]byte, []byte)
- func RandStringRunes(n int) string
- func SetGlobalCookieJar(jar http.CookieJar)
- func StringOr(a, b string, others ...string) string
- func Ternary[T any](cond bool, a, b T) T
- func Weapi(data map[string]string) map[string]string
- type Options
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ConfigInit ¶
func ConfigInit()
func ConfigReload ¶
func ConfigReload()
func CookieValueByName ¶ added in v1.4.3
func CreateRequest ¶
func NewLen16Rand ¶
func SetGlobalCookieJar ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.