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 ¶
func GetAuthKey ¶
func GetHostFromAddr ¶
func OkResponse ¶
func ParseRangeNumbers ¶
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.