Documentation
¶
Overview ¶
Package db implements a Truffle database.
Index ¶
- type DB
- func (db *DB) Delete(ctx context.Context, header source.H) error
- func (db *DB) DeleteNode(ctx context.Context, header node.H) error
- func (db *DB) Get(ctx context.Context, header source.H, refresh option.Remote) (source.S, error)
- func (db *DB) GetNode(ctx context.Context, header node.H, refresh option.Remote) (node.N, error)
- func (db *DB) PB() *dpb.Database
- func (db *DB) Put(ctx context.Context, s source.S) (source.H, error)
- func (db *DB) Search(ctx context.Context, query string, opts map[epb.SourceAPI][]option.O) ([]source.S, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.