Documentation ¶
Index ¶
- func HmacSha256(str string, key string) string
- func MAP2XML(m map[string]interface{}) string
- func MAPMerge(args ...map[string]interface{}) (m map[string]interface{})
- func MD5(str string) string
- func RandomStr() string
- func SignHMACSHA256(m map[string]interface{}, key string) (sign string)
- func SignMD5(m map[string]interface{}, key string) (sign string)
- func SortKey(m map[string]interface{}) string
- func Struct2Map(params interface{}) (m map[string]interface{})
- func XML2MAP(b []byte) (m map[string]string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SignHMACSHA256 ¶
Sign 生成签名 HMAC-SHA256加密
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.