middleware

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckAdmin

type CheckAdmin struct {
}

CheckAdmin 检测当前登录用户

func (*CheckAdmin) Handle

func (c *CheckAdmin) Handle(ctx *context.Context) bool

type CrossDomain

type CrossDomain struct {
}

func (*CrossDomain) Handle

func (C *CrossDomain) Handle(w http.ResponseWriter, r *http.Request) bool

Jump to

Keyboard shortcuts

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