Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLocalSwitchHttpClient ¶
func NewLocalSwitchHttpClient(lswitch *LocalSwitch, trafficIndex uint8) *http.Client
Types ¶
type LocalSwitch ¶
type LocalSwitch struct {
// contains filtered or unexported fields
}
func StartNewLocalSwitch ¶
func StartNewLocalSwitch() (*LocalSwitch, error)
func (*LocalSwitch) AddTrafficConsumer ¶
func (l *LocalSwitch) AddTrafficConsumer(trafficIndex uint8, consumer multiplexer.TrafficConsumer)
func (*LocalSwitch) SwitchAddr ¶
func (l *LocalSwitch) SwitchAddr() string
type LocalSwitchNetListener ¶
type LocalSwitchNetListener struct {
// contains filtered or unexported fields
}
func NewLocalSwitchNetListener ¶
func NewLocalSwitchNetListener() *LocalSwitchNetListener
func (*LocalSwitchNetListener) Addr ¶
func (l *LocalSwitchNetListener) Addr() net.Addr
func (*LocalSwitchNetListener) Close ¶
func (l *LocalSwitchNetListener) Close() error
func (*LocalSwitchNetListener) PublishNetConn ¶
func (l *LocalSwitchNetListener) PublishNetConn(conn net.Conn)
Click to show internal directories.
Click to hide internal directories.