Documentation ¶
Index ¶
- func DecodeBasicAuthHeader(header string) (string, string, error)
- func EncodeMd5(str string) string
- func EncodePassword(password string, salt string) string
- func GetBasicAuthHeader(user string, password string) string
- func GetRandomString(n int, alphabets ...byte) string
- func IsEmail(str string) bool
- func JoinUrlFragments(a, b string) string
- func PBKDF2(password, salt []byte, iter, keyLen int, h func() hash.Hash) []byte
- func StringsFallback2(val1 string, val2 string) string
- func StringsFallback3(val1 string, val2 string, val3 string) string
- type DynMap
- type UrlQueryReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodePassword ¶
func GetBasicAuthHeader ¶
func GetRandomString ¶
func JoinUrlFragments ¶
func StringsFallback2 ¶
Types ¶
type UrlQueryReader ¶
type UrlQueryReader struct {
// contains filtered or unexported fields
}
func NewUrlQueryReader ¶
func NewUrlQueryReader(url *url.URL) *UrlQueryReader
Click to show internal directories.
Click to hide internal directories.