listener

package
v0.5.0-rc01 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

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

func CreateListenerService(lc *model.Listener, bs *model.Bootstrap) (ListenerService, error)

CreateListenerService create listener service

Directories

Path Synopsis
inspired by dubbogo/remoting/getty inspired by dubbogo/remoting/getty
inspired by dubbogo/remoting/getty inspired by dubbogo/remoting/getty

Jump to

Keyboard shortcuts

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