middleware

package
v0.0.0-...-70b0572 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TokenSecret = "TOKENSECRET"
)

TokenSecret const

Variables

This section is empty.

Functions

func Auth

func Auth(next http.Handler) http.Handler

func CORS

func CORS(next http.Handler) http.Handler

Types

type KeyContext

type KeyContext interface{}

Jump to

Keyboard shortcuts

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