Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileStorage ¶
type FileStorage struct {
// contains filtered or unexported fields
}
func (*FileStorage) Close ¶
func (fs *FileStorage) Close() error
func (*FileStorage) GetMessages ¶
func (fs *FileStorage) GetMessages(offset uint64) ([]storage.Message, error)
GetMessages returns a slice of messages from append-only data file with given offset
func (*FileStorage) IgnoreMessages ¶
func (fs *FileStorage) IgnoreMessages(messages []string, useOffset bool) error
func (*FileStorage) UnignoreMessages ¶
func (fs *FileStorage) UnignoreMessages()
Click to show internal directories.
Click to hide internal directories.