Documentation ¶
Index ¶
- Constants
- func CheckAndFixUtf8(data string) string
- func CheckProtocolAuthPass(authMethod, rawPassword, cramPassword, cramSecret string) bool
- func DecodeBase64(b64 string) string
- func DecodeProtocolAuthPlain(b64 string) (string, string, string)
- func DecodeProtocolCramMd5(b64 string) (string, string)
- func EncodeBase64(b64 string) string
- func GenerateProtocolCramMd5(hostname string) string
- func GenerateRandString(l int) string
- func GetRandFromArray(arr []int) int
Constants ¶
View Source
const ( AUTH_PLAIN = "plain" AUTH_APOP = "apop" AUTH_CRAM_MD5 = "cram-md5" )
Variables ¶
This section is empty.
Functions ¶
func CheckProtocolAuthPass ¶
func DecodeBase64 ¶
func DecodeProtocolCramMd5 ¶
func EncodeBase64 ¶
func GenerateProtocolCramMd5 ¶
func GenerateRandString ¶
func GetRandFromArray ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.