middleware

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct{}

func NewMiddleware

func NewMiddleware(ctx context.Context) *Handler

func (*Handler) Cors

func (m *Handler) Cors(ctx iris.Context)

Cors 过滤

func (*Handler) Wrapping

func (m *Handler) Wrapping(ctx iris.Context)

Wrapping 包装一些基础的上下文信息

Jump to

Keyboard shortcuts

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