util

package
v0.0.0-...-bdf525e Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextLoggerMiddleware

func ContextLoggerMiddleware(logger *zap.Logger) func(http.Handler) http.Handler

Types

type ChiLogFormatter

type ChiLogFormatter struct {
	// contains filtered or unexported fields
}

func NewChiLogFormatter

func NewChiLogFormatter(cfg *config.Config) ChiLogFormatter

func (ChiLogFormatter) NewLogEntry

func (c ChiLogFormatter) NewLogEntry(r *http.Request) middleware.LogEntry

type Map

type Map map[string]any

Jump to

Keyboard shortcuts

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