Documentation ¶
Index ¶
- func CreateListenerFilterChainFactory(filterType string, config map[string]interface{}) (types.ListenerFilterChainFactory, error)
- func CreateNetworkFilterChainFactory(filterType string, config map[string]interface{}) (types.NetworkFilterChainFactory, error)
- func CreateStreamFilterChainFactory(filterType string, config map[string]interface{}) (types.StreamFilterChainFactory, error)
- func RegisterListener(filterType string, creator ListenerFilterFactoryCreator)
- func RegisterNetwork(filterType string, creator NetworkFilterFactoryCreator)
- func RegisterStream(filterType string, creator StreamFilterFactoryCreator)
- type ListenerFilterFactoryCreator
- type NetworkFilterFactoryCreator
- type StreamFilterFactoryCreator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateListenerFilterChainFactory ¶
func CreateListenerFilterChainFactory(filterType string, config map[string]interface{}) (types.ListenerFilterChainFactory, error)
func CreateNetworkFilterChainFactory ¶
func CreateNetworkFilterChainFactory(filterType string, config map[string]interface{}) (types.NetworkFilterChainFactory, error)
CreateNetworkFilterChainFactory creates a StreamFilterChainFactory according to filterType
func CreateStreamFilterChainFactory ¶
func CreateStreamFilterChainFactory(filterType string, config map[string]interface{}) (types.StreamFilterChainFactory, error)
CreateStreamFilterChainFactory creates a StreamFilterChainFactory according to filterType
func RegisterListener ¶
func RegisterListener(filterType string, creator ListenerFilterFactoryCreator)
RegisterStream registers the filterType as StreamFilterFactoryCreator
func RegisterNetwork ¶
func RegisterNetwork(filterType string, creator NetworkFilterFactoryCreator)
RegisterNetwork registers the filterType as NetworkFilterFactoryCreator
func RegisterStream ¶
func RegisterStream(filterType string, creator StreamFilterFactoryCreator)
RegisterStream registers the filterType as StreamFilterFactoryCreator
Types ¶
type ListenerFilterFactoryCreator ¶
type ListenerFilterFactoryCreator func(config map[string]interface{}) (types.ListenerFilterChainFactory, error)
StreamFilterFactoryCreator creates a StreamFilterChainFactory according to config
type NetworkFilterFactoryCreator ¶
type NetworkFilterFactoryCreator func(config map[string]interface{}) (types.NetworkFilterChainFactory, error)
NetworkFilterFactoryCreator creates a NetworkFilterChainFactory according to config
type StreamFilterFactoryCreator ¶
type StreamFilterFactoryCreator func(config map[string]interface{}) (types.StreamFilterChainFactory, error)
StreamFilterFactoryCreator creates a StreamFilterChainFactory according to config
Click to show internal directories.
Click to hide internal directories.