filter

package
v0.0.0-...-78a648b Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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