Documentation ¶
Index ¶
- func Desensitize(data string) string
- func GetEnv(key string, defVal string) string
- func HttpDo(method, reqUrl string, reqBody io.Reader, headerPairs ...KeyValue) ([]byte, string, error)
- func HttpUrl(rawUrl string, paramPairs ...KeyValue) (*url.URL, error)
- func SetHttpConf(conf config.HttpConf)
- func SmtpDo(addr string, auth smtp.Auth, from, to, subject, body string) error
- type KeyValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetHttpConf ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.