Documentation ¶
Index ¶
- Variables
- type AmountArguments
- type MyMachine
- func (mm *MyMachine) FromAToB(transitionArguments stateful.TransitionArguments) (stateful.State, error)
- func (mm *MyMachine) FromBToA(transitionArguments stateful.TransitionArguments) (stateful.State, error)
- func (mm *MyMachine) SetState(state stateful.State) error
- func (mm MyMachine) State() stateful.State
Constants ¶
This section is empty.
Variables ¶
View Source
var ( A = stateful.DefaultState("A") B = stateful.DefaultState("B") )
Functions ¶
This section is empty.
Types ¶
type AmountArguments ¶ added in v0.0.7
type AmountArguments struct {
Amount int
}
Click to show internal directories.
Click to hide internal directories.