middlewares

package
v0.0.0-...-c873491 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextTimeout

func ContextTimeout(timeout time.Duration) gin.HandlerFunc

Types

type GinMiddleware

type GinMiddleware struct {
	*tkit.GinApplication
}

func NewWithGin

func NewWithGin(ginApp *tkit.GinApplication) *GinMiddleware

func (*GinMiddleware) AccessLog

func (m *GinMiddleware) AccessLog() gin.HandlerFunc

func (*GinMiddleware) Register

func (m *GinMiddleware) Register(engine *gin.Engine)

Jump to

Keyboard shortcuts

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