Documentation ¶
Overview ¶
Package handlers containes the full set of handler functions and routes supported by the http api.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func API ¶
func API(build string, shutdown chan os.Signal, log *zap.SugaredLogger, a *auth.Auth, db *sqlx.DB) *web.App
API construct an http.Handler with all application routes defined.
func DebugStandardLibraryMux ¶
DebugStandardLibraryMux registers all the debug routes from the std library into a new mux. This is done to avoid the usage of DefaultServerMux, since a dependency could injects a handler into it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.