router

package
v0.0.0-...-f66ea8c Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logger

func Logger(logger log.Logger, reqs ...string) gin.HandlerFunc

func New

func New(h *handler.Handler, options ...Option) http.Handler

Types

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithDebug

func WithDebug(debug bool) Option

func WithMiddlewares

func WithMiddlewares(middlewares ...gin.HandlerFunc) Option

Jump to

Keyboard shortcuts

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