logger

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DupReadCloser

func DupReadCloser(reader io.ReadCloser) (io.ReadCloser, io.ReadCloser)

func ParseErr

func ParseErr(err interface{}) (code int, msg string)

Types

type Middleware

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

func NewMiddleware

func NewMiddleware(log zerolog.Logger) *Middleware

func (*Middleware) Handle

func (m *Middleware) Handle() gin.HandlerFunc

Jump to

Keyboard shortcuts

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