filter

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 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