Documentation
¶
Overview ¶
Package fsm provides lightweight mode-and-step state injection. For ordered storage-backed scenes, prefer package state.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Inject ¶
func Inject(m *Manager) middleware.Middleware
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
type MemoryStore ¶
type MemoryStore struct {
// contains filtered or unexported fields
}
MemoryStore is a concurrency-safe, process-local FSM store.
func (*MemoryStore) Delete ¶
func (s *MemoryStore) Delete(key string) error
Click to show internal directories.
Click to hide internal directories.