Documentation ¶
Index ¶
- type MockStore
- func (m *MockStore) All() (map[string][]byte, error)
- func (m *MockStore) Commit(token string, b []byte, expiry time.Time) (err error)
- func (m *MockStore) Delete(token string) (err error)
- func (m *MockStore) ExpectAll(mb map[string][]byte, err error)
- func (m *MockStore) ExpectCommit(token string, b []byte, expiry time.Time, err error)
- func (m *MockStore) ExpectDelete(token string, err error)
- func (m *MockStore) ExpectFind(token string, b []byte, found bool, err error)
- func (m *MockStore) Find(token string) (b []byte, found bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
func (*MockStore) ExpectCommit ¶
func (*MockStore) ExpectDelete ¶
func (*MockStore) ExpectFind ¶
Click to show internal directories.
Click to hide internal directories.