Documentation ¶
Index ¶
- func AesDecode(str, key string) (string, error)
- func AesEncode(str, key string) (string, error)
- func GenAssetId(appId int64) int64
- func GenIdHelp(baseId uint64, flag int) uint64
- func GenNonce() int64
- func GenRandId() uint64
- func GetFuncCall(callDepth int) (string, string)
- func GetHostName() string
- func StrSignToInt(content string) uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenIdHelp ¶
*
- | 0 - 19 | 20-31 | 32 | 33 - 40 | 41 - 56 | 57 - 60 | 61-63 |
- | 20位 | 12位 | 1位 | 8位 | 16位 | 4位 | 3位 |
- | baseId低20位| 随机值 | 标记 | 随机值 | 签名低16位| 随机值 | 0 |
func GetFuncCall ¶
Get call method by runtime.Caller
func GetHostName ¶ added in v1.0.5
func GetHostName() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.