Source File
ss_relay.go
Belonging Package
github.com/pancsta/asyncmachine-go/tools/relay/states
// Package states contains a stateful schema-v2 for Relay.// Bootstrapped with am-gen. Edit manually or re-gen & merge.package statesimport (amss.ssdbg)// RelayStatesDef contains all the states of the Relay state machine.type RelayStatesDef struct {*am.StatesBase// inherit from BasicStatesDef*ss.BasicStatesDef// inherit from DisposedStatesDef*ss.DisposedStatesDef// inherit from [ssdbg.ServerStatesDef]*ssdbg.ServerStatesDef}// RelayGroupsDef contains all the state groups Relay state machine.type RelayGroupsDef struct {}// RelaySchema represents all relations and properties of RelayStates.var RelaySchema = SchemaMerge(// inherit from BasicStructss.BasicSchema,// inherit from DisposedStructss.DisposedSchema,// inherit from ServerSchemassdbg.ServerSchema,am.Schema{// TODO own states})// EXPORTS AND GROUPSvar (ssV = am.NewStates(RelayStatesDef{})sgV = am.NewStateGroups(RelayGroupsDef{})// RelayStates contains all the states for the Relay machine.RelayStates = ssV// RelayGroups contains all the state groups for the Relay machine.RelayGroups = sgV)
![]() |
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. |