Documentation ¶
Index ¶
- Constants
- func GenLogID() string
- func Hmac(s string, appSecret string) string
- func Marshal(o interface{}) string
- func MarshalNoErr(object interface{}) string
- func Md5(s string) string
- func Sign(appKey, appSecret, method string, timestamp int64, paramJson string) string
- func SpiSign(appKey, appSecret, timestamp string, sortedParamStr string, signMethod string) string
- type LogID
Constants ¶
View Source
const ( // IPUnknown represents unknown ip // 32 * 0 IPUnknown = "00000000000000000000000000000000" )
Variables ¶
This section is empty.
Functions ¶
func MarshalNoErr ¶
func MarshalNoErr(object interface{}) string
Types ¶
Click to show internal directories.
Click to hide internal directories.