middleware

package
v0.8.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	HeaderSignKey = "Sk"
)
View Source
const (
	HeaderTsKey = "Ts"
)

Variables

This section is empty.

Functions

func Logger

func Logger() gin.HandlerFunc

func Trace

func Trace() gin.HandlerFunc

func VerifySk added in v0.5.1

func VerifySk() gin.HandlerFunc

func VerifyTs added in v0.5.1

func VerifyTs() gin.HandlerFunc

Types

type BodySigner added in v0.5.1

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

type TsVerify added in v0.5.1

type TsVerify struct {
	Expire time.Duration
}

Jump to

Keyboard shortcuts

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