Documentation ¶
Index ¶
- func Accept(ini PreState, rolename string, id int, conn transport.Transport) error
- func Connect(ini PreState, rolename string, id int, conn transport.Transport) error
- func NewConn(roles []ParamRole) (map[string][]transport.Channel, error)
- func RoleRange(id, nw int)
- type Endpoint
- type LinearResource
- type ParamRole
- type PreState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Endpoint ¶
type Endpoint struct { Id int NumRoles int // guards Conn ConnMu sync.RWMutex Conn map[string][]transport.Channel // contains filtered or unexported fields }
func NewEndpoint ¶
func (*Endpoint) CheckConnection ¶
func (e *Endpoint) CheckConnection()
CheckConnection ensures connections initiated (by Accept) in Endpoint e are fully established.
type LinearResource ¶
func (*LinearResource) Use ¶
func (res *LinearResource) Use()
Click to show internal directories.
Click to hide internal directories.