package states

Import Path
	github.com/pancsta/asyncmachine-go/tools/repl/states (on go.dev)

Dependency Relation
	imports 3 packages, and imported by 2 packages

Involved Source Files Package states contains a stateful schema-v2 for Repl. Bootstrapped with am-gen. Edit manually or re-gen & merge.
Package-Level Type Names (total 2)
/* sort by: | */
ReplGroupsDef contains all the state groups Repl state machine. Cmds S ConnectedGroupsDef *ss.ConnectedGroupsDef ConnectedGroupsDef.Connected states.S var ReplGroups
ReplStatesDef contains all the states of the Repl state machine. Watch mode detected a change in address files 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. CmdAdd string CmdGroupAdd string CmdGroupRemove string CmdInspect string CmdList string CmdRemove string CmdScript string CmdStatus string CmdWhen string CmdWhenNot string CmdWhenTime string inherit from ConnPoolStatesDef ConnPoolStatesDef.Connected states.ConnPoolState ConnPoolStatesDef.ConnectedFully states.ConnPoolState ConnPoolStatesDef.Connecting states.ConnPoolState ConnPoolStatesDef.Disconnected states.ConnPoolState ConnPoolStatesDef.Disconnecting states.ConnPoolState ErrConnecting is a detailed connection error, eg no access. inherit from DisposedStatesDef Disposed indicates that the machine has disposed allocated resoruces and is ready to be garbage collected by calling [am.Machine.Dispose]. Disposing indicates that the machine is during the disposal process. RegisterDisposal registers a disposal handler passed under the DisposedArgHandler key. ErrSyntax string List fully connected machines, with filters. REPL is running in a TUI mode RpcConn string RpcDisconn 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. ( ReplStatesDef) Names() machine.S ( ReplStatesDef) SetNames(names machine.S) ( ReplStatesDef) SetStateGroups(groups map[string][]int, order []string) ( ReplStatesDef) StateGroups() (map[string][]int, []string) ReplStatesDef : github.com/pancsta/asyncmachine-go/pkg/machine.States var ReplStates
Package-Level Variables (total 3)
ReplGroups contains all the state groups for the Repl machine.
ReplSchema represents all relations and properties of ReplStates.
ReplStates contains all the states for the Repl machine.