Documentation ¶
Index ¶
- func Call[T any](url, appKey, appSecret string, data T, funcHeader func(header http.Header), ...) error
- func POST(url, appKey, appSecret, data string, funcHeader func(header http.Header), ...) error
- func Request[T any, R any](url, appKey, appSecret string, data T, result R, ...) error
- func Signature(appKey, appSecret, data string, timestamp int64) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Call ¶
func Call[T any](url, appKey, appSecret string, data T, funcHeader func(header http.Header), funcResponse func(response *http.Response) error) error
Call 发送请求
func POST ¶
func POST(url, appKey, appSecret, data string, funcHeader func(header http.Header), funcResponse func(response *http.Response) error) error
POST 发送请求
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.