Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsUnkownStateError ¶
Types ¶
type Machine ¶
type Machine struct { Logger micrologger.Logger ResourceName string Transitions TransitionMap }
Machine is a simple type to hold state machine configuration.
type TransitionFunc ¶
TransitionFunc defines state transition function signature.
type TransitionMap ¶
type TransitionMap map[State]TransitionFunc
Click to show internal directories.
Click to hide internal directories.