filter

package
v0.0.0-...-e3e1183 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL