Documentation ¶
Index ¶
- Constants
- type Bridge
- func (b *Bridge) Close()
- func (b *Bridge) DefaultSpec() interface{}
- func (b *Bridge) Description() string
- func (b *Bridge) Handle(ctx context.HTTPContext) (result string)
- func (b *Bridge) Inherit(filterSpec *httppipeline.FilterSpec, previousGeneration httppipeline.Filter)
- func (b *Bridge) Init(filterSpec *httppipeline.FilterSpec)
- func (b *Bridge) InjectMuxMapper(mapper protocol.MuxMapper)
- func (b *Bridge) Kind() string
- func (b *Bridge) Results() []string
- func (b *Bridge) Status() interface{}
- type Spec
Constants ¶
View Source
const ( // Kind is the kind of Bridge. Kind = "Bridge" // Description is the Description of Bridge. Description = `` /* 527-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bridge ¶
type Bridge struct {
// contains filtered or unexported fields
}
Bridge is filter Bridge.
func (*Bridge) DefaultSpec ¶
func (b *Bridge) DefaultSpec() interface{}
DefaultSpec returns the default spec of Bridge.
func (*Bridge) Description ¶
Description returns the description of Bridge.
func (*Bridge) Handle ¶
func (b *Bridge) Handle(ctx context.HTTPContext) (result string)
Handle builds a bridge for pipeline.
func (*Bridge) Inherit ¶
func (b *Bridge) Inherit(filterSpec *httppipeline.FilterSpec, previousGeneration httppipeline.Filter)
Inherit inherits previous generation of Bridge.
func (*Bridge) Init ¶
func (b *Bridge) Init(filterSpec *httppipeline.FilterSpec)
Init initializes Bridge.
func (*Bridge) InjectMuxMapper ¶ added in v1.0.1
InjectMuxMapper injects mux mapper into Bridge.
Click to show internal directories.
Click to hide internal directories.