Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SaveableOption ¶
type SaveableOption interface { // AddSaveable is an option that adds a given saveable as one that should be saved // under the given name AddSaveable(name string, saveable statemanager.Saveable) statemanager.Option }
SaveableOption factory wraps the global statemanager.AddSaveable method, which creates a new saveable state manager option
func NewSaveableOption ¶
func NewSaveableOption() SaveableOption
NewSaveableOption creates a new SaveableOption factory
type StateManager ¶
type StateManager interface { // NewStateManager creates a new state manager NewStateManager(cfg *config.Config, options ...statemanager.Option) (statemanager.StateManager, error) }
StateManager factory wraps the global statemenager.NewStateManager method, which creates a new state manager object
func NewStateManager ¶
func NewStateManager() StateManager
NewStateManager creates a new StateManager factory
Click to show internal directories.
Click to hide internal directories.