interceptor

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicInterceptor

type BasicInterceptor struct {
	// contains filtered or unexported fields
}

func NewBasicInterceptor

func NewBasicInterceptor() *BasicInterceptor

func (*BasicInterceptor) Exclude

func (i *BasicInterceptor) Exclude(path string)

func (*BasicInterceptor) Include

func (i *BasicInterceptor) Include(path string)

func (*BasicInterceptor) NeedToIntercept

func (i *BasicInterceptor) NeedToIntercept(ctx iris.Context) bool

type ScriptInterceptor

type ScriptInterceptor struct {
	BasicInterceptor
}

func NewScriptInterceptor

func NewScriptInterceptor() *ScriptInterceptor

func (*ScriptInterceptor) Interceptor

func (i *ScriptInterceptor) Interceptor(ctx iris.Context)

Jump to

Keyboard shortcuts

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