handlers

package
v0.0.0-...-e5673ba Latest Latest
Warning

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

Go to latest
Published: May 7, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package handlers manages the different versions of the API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIMux

func APIMux(cfg APIMuxConfig) http.Handler

APIMux constructs a http.Handler with all application routes defined.

Types

type APIMuxConfig

type APIMuxConfig struct {
	Shutdown chan os.Signal
	Log      *zap.SugaredLogger
	DB       *bun.DB
	Tracer   trace.Tracer
}

APIMuxConfig contains all the mandatory systems required by handlers.

Directories

Path Synopsis
v1
Package v1 contains the full set of handler functions and routes supported by the v1 web api.
Package v1 contains the full set of handler functions and routes supported by the v1 web api.
categorygrp
Package categorygrp maintains the group of handlers for category access.
Package categorygrp maintains the group of handlers for category access.

Jump to

Keyboard shortcuts

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