Documentation
¶
Index ¶
- type Generic
- func (g *Generic) Create(ctx context.Context, db *sql.DB, key string, value []byte, ttl uint64) error
- func (g *Generic) Delete(ctx context.Context, db *sql.DB, key string, revision *int64) (*kv.KeyValue, error)
- func (g *Generic) Get(ctx context.Context, db *sql.DB, key string) (*kv.KeyValue, error)
- func (g *Generic) List(ctx context.Context, db *sql.DB, key string) ([]*kv.KeyValue, error)
- func (g *Generic) Start(ctx context.Context, db *sql.DB)
- func (g *Generic) Update(ctx context.Context, db *sql.DB, key string, value []byte, revision int64) (*kv.KeyValue, *kv.KeyValue, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.