Documentation ¶
Index ¶
- type StateStore
- func (st *StateStore) Begin(i interface{}, state interface{}) error
- func (st *StateStore) End(i interface{}) error
- func (st *StateStore) Get(i interface{}, out cbg.CBORUnmarshaler) error
- func (st *StateStore) Has(i interface{}) (bool, error)
- func (st *StateStore) List(out interface{}) error
- func (st *StateStore) Mutate(i interface{}, mutator interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StateStore ¶
type StateStore struct {
// contains filtered or unexported fields
}
func New ¶
func New(ds datastore.Datastore) *StateStore
func (*StateStore) Begin ¶
func (st *StateStore) Begin(i interface{}, state interface{}) error
func (*StateStore) End ¶
func (st *StateStore) End(i interface{}) error
func (*StateStore) Get ¶
func (st *StateStore) Get(i interface{}, out cbg.CBORUnmarshaler) error
func (*StateStore) Has ¶
func (st *StateStore) Has(i interface{}) (bool, error)
func (*StateStore) Mutate ¶
func (st *StateStore) Mutate(i interface{}, mutator interface{}) error
mutator func(*T) error
Click to show internal directories.
Click to hide internal directories.