Documentation
¶
Overview ¶
Package sqlitestate implements connect.State on SQLite via modernc.org/sqlite (pure Go, no CGO) — the shipped default for connector bookkeeping. The database is connector-owned and fully reconstructible: deleting it costs one full reconcile, never data.
Index ¶
- type Store
- func (s *Store) Close() error
- func (s *Store) Cursor(ctx context.Context, workspaceID string) (server.Cursor, error)
- func (s *Store) DeleteShadow(ctx context.Context, workspaceID, entity, key string) error
- func (s *Store) PutShadow(ctx context.Context, workspaceID, entity, key string, sh connect.Shadow) error
- func (s *Store) ScanShadows(ctx context.Context, workspaceID string, ...) error
- func (s *Store) SetCursor(ctx context.Context, workspaceID string, c server.Cursor) error
- func (s *Store) SetSourceSync(ctx context.Context, workspaceID string, sync connect.SourceSync) error
- func (s *Store) Shadow(ctx context.Context, workspaceID, entity, key string) (*connect.Shadow, error)
- func (s *Store) SourceSync(ctx context.Context, workspaceID string) (connect.SourceSync, 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 implements connect.State.
func (*Store) DeleteShadow ¶
func (*Store) ScanShadows ¶
func (*Store) SetSourceSync ¶
func (*Store) SourceSync ¶
Click to show internal directories.
Click to hide internal directories.