web_filter

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitFilters added in v1.3.0

func InitFilters(trace func(order int, filter web.Filter))

func NewFilterChain

func NewFilterChain(w http.ResponseWriter, r *http.Request, service web.Service) error

Types

type FilterChain

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

func (*FilterChain) DoFilter

func (f *FilterChain) DoFilter(w http.ResponseWriter, r *http.Request) error

func (*FilterChain) DoService added in v1.1.9

func (f *FilterChain) DoService() error

func (*FilterChain) GetFilter

func (f *FilterChain) GetFilter() web.Filter

func (*FilterChain) GetNext

func (f *FilterChain) GetNext() web.FilterChain

func (*FilterChain) SetNext

func (f *FilterChain) SetNext(chain web.FilterChain)

func (*FilterChain) SetService added in v1.1.9

func (f *FilterChain) SetService(service web.Service)

Jump to

Keyboard shortcuts

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