middlewares

package
v0.0.1-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: Apache-2.0 Imports: 2 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 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