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 ListenerGracefulShutdownConfig ¶
func (*ListenerGracefulShutdownConfig) AddActiveCount ¶
func (lgsc *ListenerGracefulShutdownConfig) AddActiveCount(num int32)
type ListenerService ¶
type ListenerService interface { // Start the listener service Start() error // Close the listener service forcefully Close() error // ShutDown gracefully shuts down the listener. ShutDown(interface{}) error // Refresh config Refresh(model.Listener) error }
func CreateListenerService ¶
CreateListenerService create listener service
Click to show internal directories.
Click to hide internal directories.