middleware

package
v0.0.0-...-d595cb9 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthSession

func AuthSession(authService auth.AuthService, userService user.UserService) gin.HandlerFunc

func PopulateLogger

func PopulateLogger(originalLogger *zap.SugaredLogger) gin.HandlerFunc

PopulateLogger add logger context

func PopulateRequestID

func PopulateRequestID() gin.HandlerFunc

func PopulateSessionIfNotExist

func PopulateSessionIfNotExist(store sessions.Store) gin.HandlerFunc

PopulateSessionIfNotExist

func PopulateTracing

func PopulateTracing() gin.HandlerFunc

PopulateTracing

Types

This section is empty.

Jump to

Keyboard shortcuts

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