Documentation ¶
Overview ¶
Package handlers contains all the handler functions and routes supported by the web api.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiMux ¶
func ApiMux(cfg ApiMuxConfig) http.Handler
func DebugMux ¶
func DebugMux(cfg DebugMuxConfig) http.Handler
Types ¶
type ApiMuxConfig ¶
type DebugMuxConfig ¶
type DebugMuxConfig struct { Build string Logger *zap.SugaredLogger DB *sqlx.DB }
Click to show internal directories.
Click to hide internal directories.