func RegisterNetwork(filterType string, creator NetworkFilterFactoryCreator) {
	creatorNetworkFactory[filterType] = creator
}
RegisterNetwork registers the filterType as  NetworkFilterFactoryCreator
package api
import "fmt"
type ListenerFilterFactoryCreator func(config map[string]interface{}) (ListenerFilterChainFactory, error)
type StreamFilterFactoryCreator func(config map[string]interface{}) (StreamFilterChainFactory, error)
type NetworkFilterFactoryCreator func(config map[string]interface{}) (NetworkFilterChainFactory, error)
var creatorListenerFactory map[string]ListenerFilterFactoryCreator
var creatorStreamFactory map[string]StreamFilterFactoryCreator
var creatorNetworkFactory map[string]NetworkFilterFactoryCreator
func init() {
	creatorListenerFactory = make(map[string]ListenerFilterFactoryCreator)
	creatorStreamFactory = make(map[string]StreamFilterFactoryCreator)
	creatorNetworkFactory = make(map[string]NetworkFilterFactoryCreator)
}
func RegisterListener(filterType string, creator ListenerFilterFactoryCreator) {
	creatorListenerFactory[filterType] = creator
}
func RegisterStream(filterType string, creator StreamFilterFactoryCreator) {
	creatorStreamFactory[filterType] = creator
}