example

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInstanceByTest2Ctrl added in v1.0.16

func GetInstanceByTest2Ctrl() *test2Ctrl

func GetInstanceByTestCtrl

func GetInstanceByTestCtrl() *testCtrl

Types

type ParameterErrorImp added in v1.0.5

type ParameterErrorImp struct {
}

func (*ParameterErrorImp) ParameterError added in v1.0.5

func (*ParameterErrorImp) ParameterError(writer http.ResponseWriter, request *http.Request, err error)

type XSSFilterImplements added in v1.0.17

type XSSFilterImplements struct {
}

func (*XSSFilterImplements) Intercept added in v1.0.18

func (that *XSSFilterImplements) Intercept(key, val string, writer http.ResponseWriter, request *http.Request) bool

Intercept 只会过滤进行参数装载的控制器,如果是 (writer http.ResponseWriter, request *http.Request) 控制器,不会进行字符串过滤 key, val string 字段的名称与原始值 返回 true 则拦截下请求不会继续分发,会就此中断

Jump to

Keyboard shortcuts

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