Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUserHandler ¶
CreateUserHandler creates a user in the database
Types ¶
type Error ¶
Error represents a handler error. It provides methods for a HTTP status code and embeds the built-in error interface.
type HTTPStatusError ¶
HTTPStatusError represents an error with an associated HTTP status code.
func (HTTPStatusError) Error ¶
func (hse HTTPStatusError) Error() string
Allows HTTPStatusError to satisfy the error interface.
func (HTTPStatusError) Status ¶
func (hse HTTPStatusError) Status() int
Status Returns an HTTP status code.
Click to show internal directories.
Click to hide internal directories.