Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrJobAlreadyExists = errors.New("job with same key already exists") ErrJobNotFound = errors.New("job not found") )
Functions ¶
This section is empty.
Types ¶
type CommandsHandler ¶
type CommandsHandler interface {
GetHandlers() map[uint64]func(WritableState, []byte) (interface{}, error)
}
type ReadonlyState ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func NewStore ¶
func NewStore(handler CommandsHandler, typeProvider provider.TypeProvider) *Store
func (*Store) VisitReadonlyState ¶
func (s *Store) VisitReadonlyState(f func(ReadonlyState))
Click to show internal directories.
Click to hide internal directories.