filter

package
v0.2.38 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BEFORE_STATIC = iota
	BEFORE_ROUTER
	BEFORE_EXEC
	AFTER_EXEC
	AFTER_ROUTER
)

定义常量

Variables

This section is empty.

Functions

func AddFilter

func AddFilter(pattern string, pos int, filterFunc context.HandlerFunc)

AddFilter 添加过滤

func ExecFilter

func ExecFilter(pos int, ctx *context.Context)

ExecFilter执行过滤

Types

This section is empty.

Jump to

Keyboard shortcuts

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