Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientError ¶
func ClientError(w http.ResponseWriter, status int)
ClientError logs a client error and responds with the specified status.
func IsAuthenticated ¶
func NewHelpers ¶
NewHelpers sets up the app config for helpers.
func ServerError ¶
func ServerError(w http.ResponseWriter, err error)
ServerError logs a server error, including a stack trace, and responds with a 500 status.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.