middleware

package
v0.0.0-...-a5fc328 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorInternalError = errors.New("Whoops! Something went wrong :(")
	ErrorInvalidJson   = errors.New("The JSON request is invalid")
)

Functions

func Cors

func Cors() gin.HandlerFunc

func ErrorHandler

func ErrorHandler(c *gin.Context)

func NetworkSelect

func NetworkSelect(c *gin.Context)

func Options

func Options(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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