Documentation ¶
Overview ¶
Package handlers manges the different versions of the API
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIMux ¶
func APIMux(cfg APIMuxConfig) *web.App
APIMux constructs a http.Handler with all application routes defined.
Types ¶
type APIMuxConfig ¶
type APIMuxConfig struct { Shutdown chan os.Signal Log *zap.SugaredLogger Auth *auth.Auth DB *sqlx.DB }
APIMuxConfig contains all the mandatory systems required by handlers.
Click to show internal directories.
Click to hide internal directories.