middleware

package
v0.0.0-...-165a0e8 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckMethod

func CheckMethod() gin.HandlerFunc

check GET or POST

func CheckSign

func CheckSign(log log, secretKey, patternSign string) gin.HandlerFunc

func ErrorLogging

func ErrorLogging(log log) gin.HandlerFunc

func Gzip

func Gzip() gin.HandlerFunc

func GzipResponse

func GzipResponse() gin.HandlerFunc

func SetSign

func SetSign(secretKey, patternSign string) 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