Documentation ¶
Index ¶
- func AddFilters(filter web.Filter)
- func NewFilterChain(w http.ResponseWriter, r *http.Request, service web.Service) error
- func SortFilters()
- type FilterChain
- func (f *FilterChain) DoFilter(w http.ResponseWriter, r *http.Request) error
- func (f *FilterChain) DoService(w http.ResponseWriter, r *http.Request) error
- func (f *FilterChain) GetFilter() web.Filter
- func (f *FilterChain) GetNext() web.FilterChain
- func (f *FilterChain) SetNext(chain web.FilterChain)
- func (f *FilterChain) SetService(service web.Service)
- type FilterStarter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFilters ¶
func NewFilterChain ¶
func SortFilters ¶ added in v1.2.1
func SortFilters()
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(w http.ResponseWriter, r *http.Request) 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)
type FilterStarter ¶ added in v1.2.1
func (*FilterStarter) AfterInit ¶ added in v1.2.1
func (f *FilterStarter) AfterInit()
Click to show internal directories.
Click to hide internal directories.