Documentation ¶
Index ¶
- func EncodeURL(api string, params map[string]string) (string, error)
- func FetchIP() (net.IP, error)
- func GetQuery(req *http.Request, key string) string
- func NewTLSClient(certPath, keyPath string) (httpClient *http.Client, err error)
- func PostXML(uri string, obj interface{}) ([]byte, error)
- func RandomString(ln int) string
- func TSLPostXML(uri string, obj interface{}, certPath, keyPath string) ([]byte, error)
- func TokenAPI(api, token string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTLSClient ¶
NewTLSClient 创建支持双向证书认证的 http.Client.
func TSLPostXML ¶
TSLPostXML ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.