Documentation
¶
Overview ¶
Package sqlite is the SQLite store provider (ADR-004), for the daemon host. It is pure Go (modernc.org/sqlite), so ynf stays a static binary.
Index ¶
- type Store
- func (s *Store) Append(ctx context.Context, item string, e store.LogEntry) error
- func (s *Store) Close() error
- func (s *Store) Delete(ctx context.Context, key, ifVersion string) error
- func (s *Store) Due(ctx context.Context, now time.Time, limit int) ([]string, error)
- func (s *Store) Get(ctx context.Context, key string) ([]byte, string, error)
- func (s *Store) Keys(ctx context.Context, prefix string) ([]string, error)
- func (s *Store) Log(ctx context.Context, item string) ([]store.LogEntry, error)
- func (s *Store) Put(ctx context.Context, key string, doc []byte, ifVersion string) (string, error)
- func (s *Store) Schedule(ctx context.Context, item string, at time.Time) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a SQLite-backed store.Store.
Click to show internal directories.
Click to hide internal directories.