README ¶ db Database abstractions for Snart. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type DB func New(o opts.Opts) (*DB, error) func Open(uri string) (*DB, error) func (d *DB) Close() error func (d *DB) Del(k string) error func (d *DB) Get(k string, v interface{}) error func (d *DB) Keys() ([]string, error) func (d *DB) Set(k string, v interface{}) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type DB ¶ type DB struct { opts.Opts impl.Impl form.Form } DB is a wrapper for a number of database implementations. func New ¶ func New(o opts.Opts) (*DB, error) func Open ¶ added in v0.3.0 func Open(uri string) (*DB, error) func (*DB) Close ¶ added in v0.4.1 func (d *DB) Close() error func (*DB) Del ¶ added in v0.4.1 func (d *DB) Del(k string) error func (*DB) Get ¶ added in v0.4.1 func (d *DB) Get(k string, v interface{}) error func (*DB) Keys ¶ added in v0.4.1 func (d *DB) Keys() ([]string, error) func (*DB) Set ¶ added in v0.4.1 func (d *DB) Set(k string, v interface{}) error Source Files ¶ View all Source files close.godb.godel.goget.gokeys.goset.go Directories ¶ Show internal Expand all Path Synopsis form json impl fs gomap opts proto Click to show internal directories. Click to hide internal directories.