package states
Import Path
/docs/editors (on go.dev)
Dependency Relation
imports 3 packages, and imported by 0 packages
Involved Source Files
schema.go
Package-Level Type Names (total 2)
ServerGroupsDef contains all the state groups of the Client state machine.
Rpc is a group for RPC ready states.
var ServerGroups
ServerStatesDef contains all the states of the Client state machine.
inherit from BasicStatesDef
ErrHandlerTimeout indicates one of the state machine handlers has timed
out.
ErrNetwork indicates a generic network error.
Healthcheck is a periodic request making sure that the machine is still
alive.
Heartbeat is a periodic state that ensures the integrity of the machine.
Start indicates the machine should be working. Removing start can force
stop the machine.
RPC client connected (technically)
RPC client fully usable
How many times the client requested a full sync.
Ready - Client is fully connected to the server.
setting up RPC accepting
RPC is accepting or has accepted connections
Starting listening
StatesBase *am.StatesBase
Exception is the only built-in state and mean a global error. All errors
have to [State.Require] the Exception state. If [Machine.PanicToErr] is
true, Exception will receive it.
TCP tunneled over websocket
( ServerStatesDef) Names() machine.S
( ServerStatesDef) SetNames(names machine.S)
( ServerStatesDef) SetStateGroups(groups map[string][]int, order []string)
( ServerStatesDef) StateGroups() (map[string][]int, []string)
ServerStatesDef : github.com/pancsta/asyncmachine-go/pkg/machine.States
var ServerStates
Package-Level Variables (total 3)
ServerGroups contains all the state groups for the Client machine.
ServerSchema represents all relations and properties of ClientStates.
ServerStates contains all the states for the Client machine.
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |