package
0.13.2-gc72711f
Repository: https://github.com/massenz/go-statemachine.git
Documentation: pkg.go.dev

# Functions

CfgHasState checks that `state` is one of the Configuration's `States`.
CheckValid will validate that there is at least one state, and that the starting state is one of the possible states; further for any of the states it will check that they appear in at least one transition.
No description provided by the author
HasState will check whether a given state is either origin or destination for the Transition.
NewEvent creates a new Event, with the given `eventName` transition.
No description provided by the author
UpdateEvent adds the ID and timestamp to the event, if not already set.

# Constants

No description provided by the author

# Variables

No description provided by the author
Logger is made accessible so that its `Level` can be changed or can be sent to a `NullLog` during testing.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ConfiguredStateMachine is the internal representation of an FSM, which carries within itself the configuration for ease of use.