middleware

package
v0.0.0-...-cad48ee Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Common

func Common(r *chi.Mux, c CommonConfig) *chi.Mux

func RequestLogger

func RequestLogger(next http.Handler) http.Handler

Types

type CommonConfig

type CommonConfig struct {
	Timeout      time.Duration
	AllowOrigins []string
}

Jump to

Keyboard shortcuts

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