Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuilderOption ¶
type BuilderOption func(*FilterChainBuilder)
BuilderOption option constructor
func WithLog ¶
func WithLog(f func(f interface{}, v ...interface{})) BuilderOption
WithLog return option constructor modify log function
func WithprintableContentTypes ¶
func WithprintableContentTypes(types []string) BuilderOption
WithprintableContentTypes return option constructor modify printableContentTypes
type FilterChainBuilder ¶
type FilterChainBuilder struct {
// contains filtered or unexported fields
}
FilterChainBuilder can build a log filter
func NewFilterChainBuilder ¶
func NewFilterChainBuilder(opts ...BuilderOption) *FilterChainBuilder
NewFilterChainBuilder initialize a filterChainBuilder, pass options to customize
func (*FilterChainBuilder) FilterChain ¶
func (builder *FilterChainBuilder) FilterChain(next httplib.Filter) httplib.Filter
FilterChain can print the request after FilterChain processing and response before processsing
Click to show internal directories.
Click to hide internal directories.