middleware

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: MIT, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultMiddleware

type DefaultMiddleware struct {
}

DefaultMiddleware types

func (*DefaultMiddleware) Auth

func (m *DefaultMiddleware) Auth() gin.HandlerFunc

Auth ...

func (*DefaultMiddleware) CORSMiddleware

func (m *DefaultMiddleware) CORSMiddleware() gin.HandlerFunc

CORSMiddleware Implementing CORS return: gin HandlerFunc

func (*DefaultMiddleware) GetToken

func (m *DefaultMiddleware) GetToken(context *gin.Context) string

GetToken params @context: *gin.Context return gin.HandlerFunc

Jump to

Keyboard shortcuts

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