Documentation ¶
Overview ¶
Package handlers contains all the routes for the API
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct{}
Handler contains all the routes as methods. This makes it easy to spread api keys and secrets between your routes. In case you need to add one of those said common parts, you just need to add them to your struct definition.
func (Handler) Info ¶
func (h Handler) Info() httprouter.Handle
Info is used for health checking as well as outputting current app version
Click to show internal directories.
Click to hide internal directories.