handlers

package
v0.0.0-...-7428172 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 12 Imported by: 0

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 ApiMuxConfig struct {
	Shutdown chan os.Signal
	Logger   *zap.SugaredLogger
	DB       *sqlx.DB
}

type DebugMuxConfig

type DebugMuxConfig struct {
	Build  string
	Logger *zap.SugaredLogger
	DB     *sqlx.DB
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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