middlewares

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorInterceptor

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

func NewErrorInterceptor

func NewErrorInterceptor(logger *zap.Logger) *ErrorInterceptor

func (*ErrorInterceptor) Handler

func (e *ErrorInterceptor) Handler(ctx *gin.Context)

type Session

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

func NewSession

func NewSession(db *gorm.DB) *Session

func (*Session) Handler

func (s *Session) Handler(ctx *gin.Context)

Jump to

Keyboard shortcuts

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