middleware

package
v1.1.30 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Crypto added in v0.3.9

func Crypto(cipher security.Crypto) *crypto

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 added in v1.1.26

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