Documentation
¶
Overview ¶
Package turnstile is the smallest machine merilo checks: one mode, no actions, so Fire returns only the next machine and the outcome.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event uint8
Event is an input to Fire.
const ( EvCoin Event EvPush )
Event values.
type Machine ¶
type Machine struct {
// contains filtered or unexported fields
}
Machine is one turnstile. Build it with New and change it only with Fire.
Click to show internal directories.
Click to hide internal directories.