handler

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggingInterceptorOnServer

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

LoggingInterceptorOnServer é um interceptor que tem acesso a requisicao e resposta antes e depois da chamada do Handle

func NewLoggingInterceptorOnServer

func NewLoggingInterceptorOnServer(next http.Handler, logger *logrus.Entry) *LoggingInterceptorOnServer

func (*LoggingInterceptorOnServer) ServeHTTP

type Server

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

func NewServer

func NewServer(staticDirPath string, keepOriginalUploadFileName bool, spaMode bool, logger *logrus.Entry) *Server

func (*Server) ServeHTTP

func (f *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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