simpleMachine

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AmountArguments added in v0.0.7

type AmountArguments struct {
	Amount int
}

type MyMachine

type MyMachine struct {
	// contains filtered or unexported fields
}

func NewMyMachine

func NewMyMachine() MyMachine

func (*MyMachine) FromAToB

func (mm *MyMachine) FromAToB(transitionArguments stateful.TransitionArguments) (stateful.State, error)

func (*MyMachine) FromBToA

func (mm *MyMachine) FromBToA(transitionArguments stateful.TransitionArguments) (stateful.State, error)

func (*MyMachine) SetState

func (mm *MyMachine) SetState(state stateful.State) error

func (MyMachine) State added in v0.0.7

func (mm MyMachine) State() stateful.State

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL