public

package module
v0.0.0-...-593a652 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2020 License: MIT Imports: 11 Imported by: 10

README

public

Public public package, use for every element functions.

Documentation

Index

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 EncodingBase64(b []byte, IsUrl bool) string

func EncodingBytesToHex

func EncodingBytesToHex(src []byte) string

func EncryptBytesWithHmacSha256

func EncryptBytesWithHmacSha256(key []byte, value string) []byte

func EncryptBytesWithSha256

func EncryptBytesWithSha256(value []byte) []byte

func EncryptWithHmacSha1

func EncryptWithHmacSha1(k string, v string) string

func EncryptWithHmacSha256

func EncryptWithHmacSha256(k string, v string) string

func EncryptWithSha1

func EncryptWithSha1(v string) string

func EncryptWithSha256

func EncryptWithSha256(v string) string

func GenerateHexString

func GenerateHexString() string

func GenerateHexStringWithLen

func GenerateHexStringWithLen(lenth int64) string

func GenerateNonce

func GenerateNonce() string

func Hmac1ToBase64

func Hmac1ToBase64(key string, str string, IsUrl bool) string

func Hmac256ToBase64

func Hmac256ToBase64(key string, str string, IsUrl bool) string

func Int64ToString

func Int64ToString(num int64) string

func IntToString

func IntToString(num int) string

func Now

func Now() string

func RegexpBool

func RegexpBool(pattern string, str string) (bool, error)

func StringToFloat64

func StringToFloat64(num string) float64

func StringToInt

func StringToInt(num string) int

func TimesPer30s

func TimesPer30s() (string, string, string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL