middleware

package
v2.0.64 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Crypto

func Crypto(cipher security.Crypto) *crypto

func IpRateLimit added in v2.0.41

func IpRateLimit(opts ...ip.Option) ghttp.HandlerFunc

func Language

func Language(r *ghttp.Request)

Language Set language I18n.

func Response

func Response(r *ghttp.Request)

Response is the default middleware handling handler response object and its error.

func WithLanguage

func WithLanguage(ctx context.Context, lang string, r *ghttp.Request) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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