MCPcopy Create free account

hub / github.com/Gurpartap/statemachine-go / types & classes

Types & classes66 in github.com/Gurpartap/statemachine-go

InterfaceChoiceBuilder
ChoiceBuilder provides the ability to define the conditions and result handling of the choice definition.
choice_builder.go:15
InterfaceChoiceCondition
ChoiceCondition may accept Transition object as input, and it must return a bool type. Valid ChoiceCondition types: bool func() bool func(transiti
choice_builder.go:11
StructChoiceConditionDef
choice_def.go:9
StructChoiceDef
choice_def.go:15
InterfaceChoiceFalseBuilder
ChoiceFalseBuilder inherits from ChoiceBuilder
choice_builder.go:28
InterfaceChoiceTrueBuilder
ChoiceTrueBuilder inherits from ChoiceBuilder
choice_builder.go:23
StructDynamicFunc
Usage: args := make(map[reflect.Type]interface{}) args[reflect.TypeOf(new(error))] = errors.New("some error occurred") args[reflect.TypeOf(new(Transi
internal/dynafunc/dynamic_func.go:18
StructEditorMode
examples/texteditor/editor_mode.go:10
InterfaceEvent
Event provides methods for accessing useful information about the active event.
event.go:5
InterfaceEventBuildable
EventBuildable implementation is able to consume the result of building features from EventBuilder. EventBuildable is oblivious to Event or it's imple
event_builder.go:10
InterfaceEventBuilder
EventBuilder provides the ability to define an event along with its transitions and their guards. EventBuilder is oblivious to Event or it's implement
event_builder.go:17
InterfaceEventCallbackBuilder
EventCallbackBuilder provides the ability to define the `on` event(s) of the event callback matcher.
event_callback_builder.go:15
StructEventCallbackDef
event_callback_def.go:13
InterfaceEventCallbackFunc
EventCallbackFunc is a func with dynamic args. Any callback func of this type may accept a Transition object as input. Return values will be ignored.
event_callback_builder.go:11
StructEventCallbackFuncDef
event_callback_def.go:8
InterfaceEventCallbackOnBuilder
EventCallbackOnBuilder inherits from EventCallbackBuilder (or EventCallbackExceptFromBuilder) and provides the ability to define the transition callba
event_callback_builder.go:24
StructEventDef
event_def.go:7
StructExampleProcess
example_test.go:14
InterfaceMachine
Machine provides a public interface to the state machine implementation. It provides methods to build and access features of the state machine.
machine.go:5
InterfaceMachineBuildable
MachineBuildable implementation is able to consume the result of building features from dsl.MachineBuilder. MachineBuildable is oblivious to Machine o
machine_builder.go:6
InterfaceMachineBuilder
MachineBuilder provides the ability to define all features of the state machine, including states, events, event transitions, and transition callbacks
machine_builder.go:13
StructMachineDef
machine_def.go:3
InterfaceMessage
message.go:3
StructOverrideState
message.go:18
StructProcess
example_turnstile_test.go:7
StructProcess
examples/cognizant/process.go:14
TypeAliasStateMap
machine.go:28
InterfaceTransition
Transition provides methods for accessing useful information about the active transition.
transition.go:5
InterfaceTransitionAndGuardBuilder
TransitionAndGuardBuilder inherits from TransitionToBuilder and provides the ability to define additional guard condition funcs for the transition.
transition_builder.go:45
InterfaceTransitionBuilder
TransitionBuilder provides the ability to define the `from` state(s) of the transition matcher.
transition_builder.go:15
InterfaceTransitionCallbackBuilder
TransitionCallbackBuilder provides the ability to define the `from` state(s) of the transition callback matcher.
transition_callback_builder.go:36
StructTransitionCallbackDef
transition_callback_def.go:14
InterfaceTransitionCallbackDoBuilder
transition_callback_builder.go:76
InterfaceTransitionCallbackExceptFromBuilder
TransitionCallbackExceptFromBuilder inherits `from` states from TransitionCallbackBuilder and provides the ability to define the `to` states of the tr
transition_callback_builder.go:60
InterfaceTransitionCallbackFromBuilder
TransitionCallbackFromBuilder inherits `from` states from TransitionCallbackBuilder and provides the ability to define the `except from` and `to` stat
transition_callback_builder.go:48
InterfaceTransitionCallbackFunc
TransitionCallbackFunc is a func with dynamic args. Any callback func of this type may accept a Machine and/or Transition object as inputs. Return val
transition_callback_builder.go:32
StructTransitionCallbackFuncDef
transition_callback_def.go:8
InterfaceTransitionCallbackToBuilder
TransitionCallbackToBuilder inherits from TransitionCallbackBuilder (or TransitionCallbackExceptFromBuilder) and provides the ability to define the tr
transition_callback_builder.go:71
StructTransitionDef
transition_def.go:15
InterfaceTransitionExceptFromBuilder
TransitionExceptFromBuilder inherits from TransitionFromBuilder and provides the ability to define the `to` state of the transition matcher.
transition_builder.go:31
InterfaceTransitionFromBuilder
TransitionFromBuilder inherits `from` states from TransitionBuilder and provides the ability to define the `to` state as well as the `except from` sta
transition_builder.go:24
InterfaceTransitionGuard
TransitionGuard may accept Transition object as input, and it must return a bool type. Valid TransitionGuard types: bool func() bool func(transiti
transition_builder.go:11
StructTransitionGuardDef
transition_def.go:9
InterfaceTransitionToBuilder
TransitionToBuilder inherits from TransitionFromBuilder (or TransitionExceptFromBuilder) and provides the ability to define the guard condition funcs
transition_builder.go:38
StructTriggerEvent
message.go:10
StructTurnstile
examples/turnstile/main.go:9
StructchoiceFalseBuilder
choiceFalseBuilder implements ChoiceFalseBuilder
choice_builder.go:95
StructchoiceTrueBuilder
choiceTrueBuilder implements ChoiceTrueBuilder
choice_builder.go:76
StructchosenBuilder
chosenBuilder implements ChoiceBuilder
choice_builder.go:41
StructeventBuilder
eventBuilder implements EventBuilder.
event_builder.go:42
StructeventCallbackBuilder
eventCallbackBuilder implements EventCallbackBuilder
event_callback_builder.go:38
StructeventCallbackOnBuilder
eventCallbackOnBuilder implements EventCallbackOnBuilder
event_callback_builder.go:69
StructeventImpl
event_impl.go:3
StructmachineBuilder
machineBuilder implements MachineBuilder.
machine_builder.go:51
StructmachineImpl
machine_impl.go:14
StructtransitionAndGuardBuilder
transitionAndGuardBuilder implements TransitionAndGuardBuilder
transition_builder.go:161
StructtransitionBuilder
transitionBuilder implements TransitionBuilder
transition_builder.go:60
StructtransitionCallbackBuilder
transitionCallbackBuilder implements TransitionCallbackBuilder
transition_callback_builder.go:90
StructtransitionCallbackDoBuilder
transitionCallbackDoBuilder implements TransitionCallbackDoBuilder
transition_callback_builder.go:252
StructtransitionCallbackExceptFromBuilder
transitionCallbackExceptFromBuilder implements TransitionCallbackExceptFromBuilder
transition_callback_builder.go:186
StructtransitionCallbackFromBuilder
transitionCallbackFromBuilder implements TransitionCallbackFromBuilder
transition_callback_builder.go:139
StructtransitionCallbackToBuilder
transitionCallbackToBuilder implements TransitionCallbackToBuilder
transition_callback_builder.go:227
StructtransitionExceptFromBuilder
transitionExceptFromBuilder implements TransitionExceptFromBuilder
transition_builder.go:115
StructtransitionFromBuilder
transitionFromBuilder implements TransitionFromBuilder
transition_builder.go:90
StructtransitionImpl
transition_impl.go:3
StructtransitionToBuilder
transitionToBuilder implements TransitionToBuilder
transition_builder.go:135