middleware

package
v0.0.0-...-3ca87c7 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

Logger armazena a estrutura de log para entrada e saídas da API

func NewLogger

func NewLogger(log logger.Logger) Logger

NewLoggerFactory constrói um Logger com suas dependências

func (Logger) Execute

func (l Logger) Execute(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)

Execute cria logs de entrada e saída da API

Jump to

Keyboard shortcuts

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