Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage interface { storage.Storage SetTypeResult(storage.Type) LastFetchOptions() *storage.FetchOptions SetFetchResult(*storage.FetchResult, error) SetFetchTagsResult(*storage.SearchResults, error) SetCompleteTagsResult(*storage.CompleteTagsResult, error) SetWriteResult(error) SetFetchBlocksResult(block.Result, error) SetCloseResult(error) Writes() []*storage.WriteQuery }
Storage implements storage.Storage and provides methods to help read what was written and set what to retrieve.
func NewMockStorage ¶
func NewMockStorage() Storage
NewMockStorage creates a new mock Storage instance.
Click to show internal directories.
Click to hide internal directories.