Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConnTypeDial = 1 ConnTypeBind = 2 )
Variables ¶
View Source
var ErrClosed = errors.New("sequencer closed")
Functions ¶
func NewEdgeConnFactory ¶
func NewEdgeConnFactory(routerName, key string, owner RouterConnOwner) edge.RouterConn
func NewNoopSequencer ¶ added in v0.18.61
Types ¶
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 ReadTimout ¶ added in v0.18.61
type ReadTimout struct{}
func (ReadTimout) Error ¶ added in v0.18.61
func (r ReadTimout) Error() string
func (ReadTimout) Temporary ¶ added in v0.18.61
func (r ReadTimout) Temporary() bool
func (ReadTimout) Timeout ¶ added in v0.18.61
func (r ReadTimout) Timeout() bool
type RouterConnOwner ¶
type RouterConnOwner interface {
OnClose(factory edge.RouterConn)
}
Click to show internal directories.
Click to hide internal directories.