middleware

package
v0.0.0-...-d3e267c Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cors

func Cors() gin.HandlerFunc

Cors returns a cors handler

func JwtCheck

func JwtCheck() gin.HandlerFunc

JwtCheck returns a JWT handler that verifies a valid Bearer Authorization

Types

type UnsignedResponse

type UnsignedResponse struct {
	Message interface{} `json:"message"`
}

Jump to

Keyboard shortcuts

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