middlewares

package
v0.0.0-...-f1e4607 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRequestHeader

func AddRequestHeader(title, value string) gin.HandlerFunc

func AddResponseHeader

func AddResponseHeader(title, value string) gin.HandlerFunc

func Cors

func Cors(enabled bool) gin.HandlerFunc

Cors sets cross origin parameters

Types

This section is empty.

Jump to

Keyboard shortcuts

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