Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetListenerServiceFactory ¶
func SetListenerServiceFactory(protocol model.ProtocolType, newRegFunc func(lc *model.Listener, bs *model.Bootstrap) (ListenerService, error))
SetListenerServiceFactory will store the listenerService factory by name
Types ¶
type BaseListenerService ¶
type BaseListenerService struct { Config *model.Listener FilterChain *filterchain.NetworkFilterChain }
type ListenerService ¶
type ListenerService interface {
Start() error
}
func CreateListenerService ¶
CreateListenerService create listener service
Click to show internal directories.
Click to hide internal directories.