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 ¶
func (l *LoggingInterceptorOnServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.