Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteResponse ¶
func WriteResponse(w http.ResponseWriter, values ...interface{})
Types ¶
type API ¶
API defines how a new API will be attached to the router. api packages should export a function such as:
func Auth(d db.DB) API { return func(r *htr.Router) error { r.GET("/user/auth", handleAuth(d)) } }
Click to show internal directories.
Click to hide internal directories.