Documentation ¶
Overview ¶
Package request is used for internal. You should not depend on it directly, breaking changes can and will be introducted to it.
Index ¶
- func GetMD5Base64(bytes []byte) (base64Value string)
- func GetTimeInFormatISO8601() (timeStr string)
- func GetURLFormedMap(source map[string]string) (urlEncoded string)
- func GetUUID() (uuidHex string)
- func RandStringBytes(n int) string
- func Sha256WithRsa(source, secret string) string
- func ShaHmac1(source, secret string) string
- func Timeout(connectTimeout time.Duration) func(cxt context.Context, net, addr string) (c net.Conn, err error)
- type Runtime
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMD5Base64 ¶
GetMD5Base64 returns a string which has been base64 Deprecated: it was used for internal
func GetTimeInFormatISO8601 ¶
func GetTimeInFormatISO8601() (timeStr string)
GetTimeInFormatISO8601 returns a time string Deprecated: it was used for internal
func GetURLFormedMap ¶
GetURLFormedMap returns a url encoded string Deprecated: it was used for internal
func GetUUID ¶
func GetUUID() (uuidHex string)
GetUUID returns a uuid Deprecated: it was used for internal
func Sha256WithRsa ¶
Sha256WithRsa return a string which has been hashed with Rsa Deprecated: it was used for internal
Types ¶
Click to show internal directories.
Click to hide internal directories.