func RegisterListener(filterType string, creator ListenerFilterFactoryCreator) {
	creatorListenerFactory[filterType] = creator
}
RegisterListener registers the filterType as ListenerFilterFactoryCreator
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)
}