Documentation
¶
Overview ¶
Package v2 implements version 2 of the public API
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteError ¶
func WriteError(w http.ResponseWriter, status int, err error)
WriteError is a utility function for logging a request error and writing a response all in one.
func WriteErrors ¶
func WriteErrors(w http.ResponseWriter, status int, errs []error)
WriteErrors does the same but for groups of errors
Types ¶
Click to show internal directories.
Click to hide internal directories.