middleware

package
v5.1.0-release+incompa... Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2019 License: LGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIVersion

func APIVersion(next http.Handler) http.Handler

APIVersion api版本

func FullToken

func FullToken(next http.Handler) http.Handler

FullToken token api校验

func InitPlugin

func InitPlugin(next http.Handler) http.Handler

InitPlugin 实现plugin init中间件

func InitService

func InitService(next http.Handler) http.Handler

InitService 实现serviceinit中间件

func InitTenant

func InitTenant(next http.Handler) http.Handler

InitTenant 实现中间件

func License

func License(next http.Handler) http.Handler

License license验证

func Proxy

func Proxy(next http.Handler) http.Handler

Proxy 反向代理中间件

func SetLog

func SetLog(next http.Handler) http.Handler

SetLog SetLog

func Token

func Token(next http.Handler) http.Handler

Token 简单token验证

Types

type ContextKey

type ContextKey string

ContextKey ctx key type

Jump to

Keyboard shortcuts

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