middlewares

package
v0.2.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AccessControlExposeHeadersValue = "Content-Length, " +
		"Access-Control-Allow-Origin, " +
		"Access-Control-Allow-Headers, " +
		"Cache-Control, " +
		"Content-Language, " +
		"Content-Type"
)

Variables

This section is empty.

Functions

func Auth

func Auth() gin.HandlerFunc

Auth authenticates requests

func Cors

func Cors() gin.HandlerFunc

Cors return middleware of cors

Types

This section is empty.

Jump to

Keyboard shortcuts

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