package states
Import Path
github.com/pancsta/asyncmachine-go/examples/tree_state_source/states (on go.dev)
Dependency Relation
imports 3 packages, and imported by one package
Package-Level Type Names (total 4)
FlightsGroupsDef contains all the state groups Flights state machine.
Flight10Direction S
Flight10Gates S
Flight10Status S
Flight1Direction S
Flight1Gates S
Flight1Status S
Flight2Direction S
Flight2Gates S
Flight2Status S
Flight3Direction S
Flight3Gates S
Flight3Status S
Flight4Direction S
Flight4Gates S
Flight4Status S
Flight5Direction S
Flight5Gates S
Flight5Status S
Flight6Direction S
Flight6Gates S
Flight6Status S
Flight7Direction S
Flight7Gates S
Flight7Status S
Flight8Direction S
Flight8Gates S
Flight8Status S
Flight9Direction S
Flight9Gates S
Flight9Status S
var FlightsGroups
FlightsStatesDef contains all the states of the Flights 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.
Ready indicates the machine meets criteria to perform work.
Start indicates the machine should be working. Removing start can force
stop the machine.
Flight10Arrived string
Flight10Delayed string
Flight10Departed string
Flight10Gate1 string
Flight10Gate2 string
Flight10Gate3 string
Flight10Gate4 string
Flight10Gate5 string
Flight10GateUnknown string
Flight10GoToGate string
Flight10Inbound string
Flight10OnTime string
Flight10Outbound string
Flight10Scheduled string
Flight1Arrived string
Flight1Delayed string
Flight1Departed string
Flight1Gate1 string
Flight1Gate2 string
Flight1Gate3 string
Flight1Gate4 string
Flight1Gate5 string
Flight1GateUnknown string
Flight1GoToGate string
Flight1Inbound string
Flight1OnTime string
Flight1Outbound string
Flight1Scheduled string
Flight2Arrived string
Flight2Delayed string
Flight2Departed string
Flight2Gate1 string
Flight2Gate2 string
Flight2Gate3 string
Flight2Gate4 string
Flight2Gate5 string
Flight2GateUnknown string
Flight2GoToGate string
Flight2Inbound string
Flight2OnTime string
Flight2Outbound string
Flight2Scheduled string
Flight3Arrived string
Flight3Delayed string
Flight3Departed string
Flight3Gate1 string
Flight3Gate2 string
Flight3Gate3 string
Flight3Gate4 string
Flight3Gate5 string
Flight3GateUnknown string
Flight3GoToGate string
Flight3Inbound string
Flight3OnTime string
Flight3Outbound string
Flight3Scheduled string
Flight4Arrived string
Flight4Delayed string
Flight4Departed string
Flight4Gate1 string
Flight4Gate2 string
Flight4Gate3 string
Flight4Gate4 string
Flight4Gate5 string
Flight4GateUnknown string
Flight4GoToGate string
Flight4Inbound string
Flight4OnTime string
Flight4Outbound string
Flight4Scheduled string
Flight5Arrived string
Flight5Delayed string
Flight5Departed string
Flight5Gate1 string
Flight5Gate2 string
Flight5Gate3 string
Flight5Gate4 string
Flight5Gate5 string
Flight5GateUnknown string
Flight5GoToGate string
Flight5Inbound string
Flight5OnTime string
Flight5Outbound string
Flight5Scheduled string
Flight6Arrived string
Flight6Delayed string
Flight6Departed string
Flight6Gate1 string
Flight6Gate2 string
Flight6Gate3 string
Flight6Gate4 string
Flight6Gate5 string
Flight6GateUnknown string
Flight6GoToGate string
Flight6Inbound string
Flight6OnTime string
Flight6Outbound string
Flight6Scheduled string
Flight7Arrived string
Flight7Delayed string
Flight7Departed string
Flight7Gate1 string
Flight7Gate2 string
Flight7Gate3 string
Flight7Gate4 string
Flight7Gate5 string
Flight7GateUnknown string
Flight7GoToGate string
Flight7Inbound string
Flight7OnTime string
Flight7Outbound string
Flight7Scheduled string
Flight8Arrived string
Flight8Delayed string
Flight8Departed string
Flight8Gate1 string
Flight8Gate2 string
Flight8Gate3 string
Flight8Gate4 string
Flight8Gate5 string
Flight8GateUnknown string
Flight8GoToGate string
Flight8Inbound string
Flight8OnTime string
Flight8Outbound string
Flight8Scheduled string
Flight9Arrived string
Flight9Delayed string
Flight9Departed string
Flight9Gate1 string
Flight9Gate2 string
Flight9Gate3 string
Flight9Gate4 string
Flight9Gate5 string
Flight9GateUnknown string
Flight9GoToGate string
Flight9Inbound string
Flight9OnTime string
Flight9Outbound string
Flight9Scheduled string
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.
inherit from rpc/WorkerStatesDef
ErrProviding - Worker had issues providing the requested payload.
ErrSendPayload - RPC server had issues sending the requested payload to
the RPC client.
SendPayload - Worker delivered the requested payload to the RPC server
using rpc.Pass, rpc.A, and rpc.ArgsPayload.
( FlightsStatesDef) Names() machine.S
( FlightsStatesDef) SetNames(names machine.S)
( FlightsStatesDef) SetStateGroups(groups map[string][]int, order []string)
( FlightsStatesDef) StateGroups() (map[string][]int, []string)
FlightsStatesDef : github.com/pancsta/asyncmachine-go/pkg/machine.States
var FlightsStates
S is a type alias for a list of state names. See [am.S].
State is a type alias for a state definition. See [am.State].
Package-Level Variables (total 7)
FlightsGroups contains all the state groups for the Flights machine.
FlightsSchema represents all relations and properties of FlightsStates.
FlightsStates contains all the states for the Flights machine.
SAdd is a func alias for merging lists of states. See [am.SAdd].
SchemaMerge is a func alias for extending an existing state structure. See [am.SchemaMerge].
StateAdd is a func alias for adding to an existing state definition. See [am.StateAdd].
StateSet is a func alias for replacing parts of an existing state
definition. See [am.StateSet].
![]() |
The pages are generated with Golds v0.8.2. (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. |