Documentation ¶
Index ¶
- func AddErrorContext(err error, ctx string) error
- func HashString(password string) (string, error)
- func MatchString(hash, password string) bool
- func RandomCode(n int) string
- func RandomString(n int) string
- func Respond(w http.ResponseWriter, response map[string]interface{})
- func SendMail(to []string, templateFile string, data map[string]string)
- func ValidMail(mail string) bool
- func ValidNick(nick string) bool
- func ValidPassword(password string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddErrorContext ¶
func HashString ¶
func MatchString ¶
func RandomCode ¶
func RandomString ¶
func Respond ¶
func Respond(w http.ResponseWriter, response map[string]interface{})
func ValidPassword ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.