Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("resource not found")
ErrNotFound item not found
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface { Init() error // state GetState(ref string) (state map[string]interface{}, encrypted bool, err error) PutState(ref string, state, metadata map[string]interface{}, encrypted bool) error DeleteState(ref string) error // lock GetLock(ref string) (lock *types.Lock, err error) PutLock(ref string, lock types.Lock) error DeleteLock(ref string) error }
Store store interface
Click to show internal directories.
Click to hide internal directories.