Documentation ¶
Index ¶
- func CurrentTimeStamp() string
- func CurrentUTCFormat() string
- func CurrentUTCISO8601() string
- func CurrentYYYMMDD() string
- func CurrentYYYMMDDTHHMMSSZ() string
- func EncodingBase64(b []byte, IsUrl bool) string
- func EncodingBytesToHex(src []byte) string
- func EncryptBytesWithHmacSha256(key []byte, value string) []byte
- func EncryptBytesWithSha256(value []byte) []byte
- func EncryptWithHmacSha1(k string, v string) string
- func EncryptWithHmacSha256(k string, v string) string
- func EncryptWithSha1(v string) string
- func EncryptWithSha256(v string) string
- func GenerateHexString() string
- func GenerateHexStringWithLen(lenth int64) string
- func GenerateNonce() string
- func Hmac1ToBase64(key string, str string, IsUrl bool) string
- func Hmac256ToBase64(key string, str string, IsUrl bool) string
- func Int64ToString(num int64) string
- func IntToString(num int) string
- func Now() string
- func RegexpBool(pattern string, str string) (bool, error)
- func StringToFloat64(num string) float64
- func StringToInt(num string) int
- func TimesPer30s() (string, string, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentTimeStamp ¶
func CurrentTimeStamp() string
func CurrentUTCFormat ¶
func CurrentUTCFormat() string
func CurrentUTCISO8601 ¶
func CurrentUTCISO8601() string
func CurrentYYYMMDD ¶
func CurrentYYYMMDD() string
func CurrentYYYMMDDTHHMMSSZ ¶
func CurrentYYYMMDDTHHMMSSZ() string
func EncodingBase64 ¶
func EncodingBytesToHex ¶
func EncryptBytesWithSha256 ¶
func EncryptWithHmacSha1 ¶
func EncryptWithHmacSha256 ¶
func EncryptWithSha1 ¶
func EncryptWithSha256 ¶
func GenerateHexString ¶
func GenerateHexString() string
func GenerateNonce ¶
func GenerateNonce() string
func Int64ToString ¶
func IntToString ¶
func StringToFloat64 ¶
func StringToInt ¶
func TimesPer30s ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.