machine is a child of another machine machine has an RPC connection to another machine machine has a state machine has pipes going to another machine state has relations with other states
Clientsmap[string]*Client G is a directed graph of machines and states with metadata. Map is a unidirectional mirror of g, without metadata.Server*am.Machine(*Graph) AddClient(msg *dbg.DbgMsgStruct) error(*Graph) Clear() Clone returns a deep clone of the graph. Connection returns a Connection for the given source-target. DumpGv will create a dot-format *.gv file of the graph. To create an SVG:
dot -Tsvg -O path(*Graph) ParseMsg(id string, msgTx *dbg.DbgMsgTx)(*Graph) RemoveClient(id string) error
func New(server *am.Machine) (*Graph, error)
func (*Graph).Clone() (*Graph, error)
func github.com/pancsta/asyncmachine-go/tools/visualizer.NewRenderer(graph *Graph, logger func(msg string, args ...any)) *visualizer.Renderer
The pages are generated with Goldsv0.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.