logs

package
v0.0.0-...-ab7f595 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogging

func NewLogging(opts ...Option) alanis.MiddlewareFunc

Types

type Option

type Option func(m *middleware)

func WithVerbose

func WithVerbose(no bool) Option

type RequestInfo

type RequestInfo struct {
	Code     int
	Duration time.Duration
	Written  int64
	// contains filtered or unexported fields
}

func (*RequestInfo) Wrap

Jump to

Keyboard shortcuts

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