Documentation ¶
Index ¶
- func CreateNetworkFilterChainFactory(filterType string, config map[string]interface{}) (types.NetworkFilterChainFactory, error)
- func CreateStreamFilterChainFactory(filterType string, config map[string]interface{}) (types.StreamFilterChainFactory, error)
- func RegisterNetwork(filterType string, creator NetworkFilterFactoryCreator)
- func RegisterStream(filterType string, creator StreamFilterFactoryCreator)
- type NetworkFilterFactoryCreator
- type StreamFilterFactoryCreator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 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 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.