Documentation ¶
Index ¶
- func BadRequestError(w http.ResponseWriter, err error)
- func HashPassword(password string) (string, error)
- func InternalServerError(w http.ResponseWriter, err error)
- func IsPasswordHashSame(password string, hash string) bool
- func MethodNotAllowed(w http.ResponseWriter, method string)
- func TrimPathToUint(path string, prefix string) (uint, error)
- func UnauthorizedError(w http.ResponseWriter, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadRequestError ¶
func BadRequestError(w http.ResponseWriter, err error)
func HashPassword ¶
func InternalServerError ¶
func InternalServerError(w http.ResponseWriter, err error)
func IsPasswordHashSame ¶
func MethodNotAllowed ¶
func MethodNotAllowed(w http.ResponseWriter, method string)
func UnauthorizedError ¶
func UnauthorizedError(w http.ResponseWriter, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.