Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StateManager ¶
type StateManager[State any] interface { RunGuarded(func(*State) error) error GetState() (*State, error) }
StateManager ...
func GetStateManager ¶
func GetStateManager[State any](statePath string, name string, initFn func(*State) *State) StateManager[State]
Click to show internal directories.
Click to hide internal directories.