middleware

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

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

Go to latest
Published: Sep 4, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdmitMiddleware

func AdmitMiddleware() gin.HandlerFunc

func Cors

func Cors() gin.HandlerFunc

func LoggerWithRequestID

func LoggerWithRequestID(logger logrus.FieldLogger) gin.HandlerFunc

Logger is the logrus logger handler

func NewSessionsStore

func NewSessionsStore(config *config.Config) sessions.Store

func ServiceMiddleware

func ServiceMiddleware(srv *service.Service) gin.HandlerFunc

func ThemeMiddleware

func ThemeMiddleware() gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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