middlewares

package
v0.0.0-...-5ec782d Latest Latest
Warning

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

Go to latest
Published: May 25, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GlobalMiddlewares

func GlobalMiddlewares(server *gin.Engine, config *config.AppConfig, logMiddleware *LogMiddleware)

Types

type LogMiddleware

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

func NewLogMiddleware

func NewLogMiddleware(log *zap.SugaredLogger) *LogMiddleware

func (*LogMiddleware) Handler

func (m *LogMiddleware) Handler() gin.HandlerFunc

Jump to

Keyboard shortcuts

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