midware

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAuth

func WithAuth(handler func(server.Context)) []server.Handler

WithAuth token验证器, auth.JwtBasic header预处理 auth.Forbidden401Handler 无权限时返回401, 返回格式按照参数 auth.ForbiddenOption

Types

This section is empty.

Jump to

Keyboard shortcuts

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