Documentation ¶
Index ¶
- func CheckInnerSign(requestUri, secretKey, sign string) error
- func Get(url string, headers map[string]string) ([]byte, error)
- func InnerGet(url string, headers map[string]string, rtn interface{}) error
- func InnerPost(url string, headers map[string]string, values url.Values, rtn interface{}) error
- func InnerSignGet(url string, headers map[string]string, rtn interface{}, from string, ...) error
- func InnerSignPost(url string, headers map[string]string, values url.Values, rtn interface{}, ...) error
- func MakeMd5Sign(params map[string]string, secretKey string) string
- func Post(url string, headers map[string]string, data url.Values) ([]byte, error)
- func PostJson(url string, headers map[string]string, data []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InnerGet ¶
内部不带签名的GET请求构造
func InnerPost ¶
内部不带签名的POST请求构造
func InnerSignGet ¶
func InnerSignGet(url string, headers map[string]string, rtn interface{}, from string, secretKey string) error
内部带签名的GET请求构造
func InnerSignPost ¶
func InnerSignPost(url string, headers map[string]string, values url.Values, rtn interface{}, from string, secretKey string) error
内部带签名的POST请求构造
func Post ¶
POST请求构造
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.