handlers

package
v0.0.0-...-51ed351 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

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.

Directories

Path Synopsis
v1
usergrp
Package usergrp maintains the group of handlers for user access.
Package usergrp maintains the group of handlers for user access.

Jump to

Keyboard shortcuts

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