router

package
v0.0.0-...-80d63af Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(
	controllers *controller.Controllers,
	log logger.Logger,
	userReader mw.UserReader,
	authenticator authentication.Authenticator,
	handler httphandling.HTTPErrorHandler,
) *chi.Mux

Setup sets up the router for the application. @title Book Catalog API @version v1 @BasePath /api/v1 @securityDefinitions.apikey BearerAuth @in header @name Authorization @description Type "Bearer" followed by a space and JWT token.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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