Documentation
¶
Index ¶
- type Entry
- type SQLiteStore
- func (s *SQLiteStore) Clear() error
- func (s *SQLiteStore) Close() error
- func (s *SQLiteStore) Get(id int64) (*Entry, error)
- func (s *SQLiteStore) List(limit, offset int) ([]*Entry, error)
- func (s *SQLiteStore) ListAfter(afterID int64, limit int) ([]*Entry, error)
- func (s *SQLiteStore) Save(entry *Entry) error
- func (s *SQLiteStore) Search(params SearchParams) ([]*Entry, error)
- type SearchParams
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLiteStore ¶
type SQLiteStore struct {
// contains filtered or unexported fields
}
func NewSQLiteStore ¶
func NewSQLiteStore(dbPath string) (*SQLiteStore, error)
func (*SQLiteStore) Clear ¶ added in v0.3.2
func (s *SQLiteStore) Clear() error
func (*SQLiteStore) Close ¶
func (s *SQLiteStore) Close() error
func (*SQLiteStore) ListAfter ¶ added in v0.3.2
func (s *SQLiteStore) ListAfter(afterID int64, limit int) ([]*Entry, error)
func (*SQLiteStore) Save ¶
func (s *SQLiteStore) Save(entry *Entry) error
func (*SQLiteStore) Search ¶
func (s *SQLiteStore) Search(params SearchParams) ([]*Entry, error)
type SearchParams ¶
Click to show internal directories.
Click to hide internal directories.