filter

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CorsFilter

type CorsFilter struct {
	bean.Component
}

func (*CorsFilter) DoFilter

func (c *CorsFilter) DoFilter(w http.ResponseWriter, r *http.Request, chain web.FilterChain) error

func (*CorsFilter) Order

func (c *CorsFilter) Order() int

func (*CorsFilter) UrlPatterns

func (c *CorsFilter) UrlPatterns() web.Patterns

type CtxFilter added in v1.3.8

type CtxFilter struct {
	bean.Component
}

func (*CtxFilter) DoFilter added in v1.3.8

func (c *CtxFilter) DoFilter(w http.ResponseWriter, r *http.Request, chain web.FilterChain) error

func (*CtxFilter) Order added in v1.3.8

func (c *CtxFilter) Order() int

func (*CtxFilter) UrlPatterns added in v1.3.8

func (c *CtxFilter) UrlPatterns() web.Patterns

type LogFilter

type LogFilter struct {
	bean.Component
	Log log.Logger
}

func (*LogFilter) DoFilter

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

func (*LogFilter) Order

func (f *LogFilter) Order() int

func (*LogFilter) UrlPatterns

func (f *LogFilter) UrlPatterns() web.Patterns

Jump to

Keyboard shortcuts

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