Documentation ¶
Index ¶
- func CanonicalAddr(host string, port int) (addr string)
- func GenerateResponseErrorString(summary string, err error, detailed bool) string
- func GetAuthKey(token string, timestamp int64) (key string)
- func GetHostFromAddr(addr string) (host string)
- func OkResponse() *http.Response
- func ParseRangeNumbers(rangeStr string) (numbers []int64, err error)
- func RandId() (id string, err error)
- func RandIdWithLen(idLen int) (id string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalAddr ¶ added in v0.15.0
func GenerateResponseErrorString ¶ added in v0.32.2
func GetAuthKey ¶
func GetHostFromAddr ¶ added in v0.32.2
func OkResponse ¶ added in v0.32.2
func ParseRangeNumbers ¶ added in v0.16.0
func RandIdWithLen ¶
RandIdWithLen return a rand string with idLen length.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.