impl

package
v0.18.76 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

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

func NewNoopSequencer[T any](channelDepth int) *noopSeq[T]

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 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)
}

Jump to

Keyboard shortcuts

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