Documentation
¶
Index ¶
- func CheckPointer(obj interface{}) error
- func ComputeHmac256(str string, secret string) string
- func DecodeGzip(data []byte) ([]byte, error)
- func EncodeQueryString(params map[string]interface{}) string
- func MergeMap(map1, map2 map[string]interface{}) map[string]interface{}
- func Parse2Obj(resp *simplejson.Json, obj interface{}) (*simplejson.Json, error)
- func Sign(method, host, path, secretKey string, params map[string]interface{}) string
- func UinxMillisecond() int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeHmac256 ¶
ComputeHmac256 HMAC SHA256加密
func EncodeQueryString ¶
EncodeQueryString 拼接query字符串
func Parse2Obj ¶
func Parse2Obj(resp *simplejson.Json, obj interface{}) (*simplejson.Json, error)
Parse2Obj 将json解析到obj中
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.