Documentation
¶
Index ¶
- type MockStore
- func (m *MockStore) Commit(token string, b []byte, expiry time.Time) (err error)
- func (m *MockStore) Delete(token string) (err error)
- func (m *MockStore) ExpectCommit(token string, b []byte, expiry time.Time, err error)
- func (m *MockStore) ExpectDelete(token string, returnErr 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 ¶
Delete implements the Store interface
func (*MockStore) ExpectFind ¶
Click to show internal directories.
Click to hide internal directories.