handlers

package
v0.0.0-...-faaee1e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

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

func DebugStandardLibraryMux() *http.ServeMux

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL