Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrNetwork = "ErrNetwork" ErrRpc = "ErrRpc" ErrOnClient = "ErrOnClient" Start = "Start" Ready = "Ready" HandshakeDone = "HandshakeDone" Handshaking = "Handshaking" )
Variables ¶
View Source
var (
GroupHandshake = S{Handshaking, HandshakeDone}
)
View Source
var Names = S{ am.Exception, ErrNetwork, ErrRpc, ErrOnClient, Start, Ready, HandshakeDone, Handshaking, }
Names is an ordered list of all the state names.
View Source
var States = am.Struct{ ErrNetwork: {Require: S{am.Exception}}, ErrRpc: {Require: S{am.Exception}}, ErrOnClient: {Require: S{am.Exception}}, Start: {}, Handshaking: { Require: S{Start}, Remove: GroupHandshake, }, HandshakeDone: { Require: S{Start}, Remove: GroupHandshake, }, }
States map defines relations and properties of states.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.