impl

package
v0.15.26 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConnTypeDial = 1
	ConnTypeBind = 2
)

Variables

This section is empty.

Functions

func NewEdgeConnFactory

func NewEdgeConnFactory(routerName, key string, ch channel2.Channel, owner RouterConnOwner) edge.RouterConn

Types

type ConnType added in v0.15.14

type ConnType byte

type MultiListener

type MultiListener interface {
	edge.Listener
	AddListener(listener edge.Listener, closeHandler func())
	NotifyOfChildError(err error)
	GetServiceName() string
	GetService() *edge.Service
	CloseWithError(err error)
}

func NewMultiListener

func NewMultiListener(service *edge.Service, getSessionF func() *edge.Session) MultiListener

type MultipleErrors

type MultipleErrors []error

func (MultipleErrors) Error

func (e MultipleErrors) Error() string

type RouterConnOwner

type RouterConnOwner interface {
	OnClose(factory edge.RouterConn)
}

Jump to

Keyboard shortcuts

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