Versions in this module Expand all Collapse all v0 v0.1.1 Nov 23, 2026 v0.1.0 Nov 14, 2026 Changes in this version + type PortableBackend interface + Read func(context.Context) (sdk.SettingsResult, error) + Update func(context.Context, map[string]any) (sdk.SettingsResult, error) + type PrivateBackend interface + Commit func(context.Context, sdk.StorageVersion, string, []sdk.StorageMutation) (sdk.StorageReceipt, error) + Get func(context.Context, string) (sdk.StorageValue, error) + ListKeys func(context.Context, string) (sdk.StorageKeys, error) + Receipt func(context.Context, string, string) (sdk.StorageReceipt, error) + type State struct + Assurance string + Dirty bool + func New(mode, key string, portable PortableBackend, private PrivateBackend) (*State, error) + func (s *State) CheckPending() error + func (s *State) Load(ctx context.Context) (map[string]json.RawMessage, error) + func (s *State) MarkDirty() + func (s *State) Save(ctx context.Context, value any) error