Documentation ¶
Index ¶
- type IFace
- type KVByte
- type KVBytes
- type MockRepo
- func (mr *MockRepo) Clone() error
- func (mr *MockRepo) Commit(bts []byte, msg string) error
- func (mr *MockRepo) Create() error
- func (mr *MockRepo) CurrentSHA() (string, error)
- func (mr *MockRepo) Enabled() bool
- func (mr *MockRepo) Exists() bool
- func (mr *MockRepo) Init()
- func (mr *MockRepo) Pull() error
- func (mr *MockRepo) Push() error
- type MockStore
- func (ms *MockStore) Close()
- func (ms *MockStore) Delete(key string) error
- func (ms *MockStore) Get(key string) (*KVByte, error)
- func (ms *MockStore) List(prefix string) (KVBytes, error)
- func (ms *MockStore) Put(key string, bts []byte) error
- func (ms *MockStore) Register(func(kvb KVBytes))
- func (ms *MockStore) Set(key string, bts []byte) error
- func (ms *MockStore) Updated(kvs interface{})
- func (ms *MockStore) Watch() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepo ¶ added in v0.2.3
type MockRepo struct {
// contains filtered or unexported fields
}
func (*MockRepo) CurrentSHA ¶ added in v0.2.3
type MockStore ¶ added in v0.2.3
func NewMockStore ¶ added in v0.2.3
Click to show internal directories.
Click to hide internal directories.