Documentation ¶
Index ¶
- Constants
- type RemoteFilter
- func (rf *RemoteFilter) Close()
- func (rf *RemoteFilter) DefaultSpec() interface{}
- func (rf *RemoteFilter) Description() string
- func (rf *RemoteFilter) Handle(ctx context.HTTPContext) (result string)
- func (rf *RemoteFilter) Inherit(filterSpec *httppipeline.FilterSpec, previousGeneration httppipeline.Filter)
- func (rf *RemoteFilter) Init(filterSpec *httppipeline.FilterSpec)
- func (rf *RemoteFilter) Kind() string
- func (rf *RemoteFilter) Results() []string
- func (rf *RemoteFilter) Status() interface{}
- type Spec
Constants ¶
View Source
const (
// Kind is the kind of RemoteFilter.
Kind = "RemoteFilter"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemoteFilter ¶
type RemoteFilter struct {
// contains filtered or unexported fields
}
RemoteFilter is the filter making remote service acting like internal filter.
func (*RemoteFilter) DefaultSpec ¶
func (rf *RemoteFilter) DefaultSpec() interface{}
DefaultSpec returns default spec.
func (*RemoteFilter) Description ¶
func (rf *RemoteFilter) Description() string
Description returns the description of RemoteFilter.
func (*RemoteFilter) Handle ¶
func (rf *RemoteFilter) Handle(ctx context.HTTPContext) (result string)
Handle handles HTTPContext by calling remote service.
func (*RemoteFilter) Inherit ¶
func (rf *RemoteFilter) Inherit(filterSpec *httppipeline.FilterSpec, previousGeneration httppipeline.Filter)
Inherit inherits previous generation of RemoteFilter.
func (*RemoteFilter) Init ¶
func (rf *RemoteFilter) Init(filterSpec *httppipeline.FilterSpec)
Init initializes RemoteFilter.
func (*RemoteFilter) Kind ¶
func (rf *RemoteFilter) Kind() string
Kind returns the kind of RemoteFilter.
func (*RemoteFilter) Results ¶
func (rf *RemoteFilter) Results() []string
Results returns the results of RemoteFilter.
Click to show internal directories.
Click to hide internal directories.