Documentation ¶ Index ¶ type Database func New() *Database func (db *Database) Close() error func (db *Database) Delete(key string) error func (db *Database) Get(key string) ([]byte, error) func (db *Database) Has(key string) (bool, error) func (db *Database) Put(key string, value []byte) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Database ¶ type Database struct { // contains filtered or unexported fields } func New ¶ func New() *Database func (*Database) Close ¶ func (db *Database) Close() error func (*Database) Delete ¶ func (db *Database) Delete(key string) error func (*Database) Get ¶ func (db *Database) Get(key string) ([]byte, error) func (*Database) Has ¶ func (db *Database) Has(key string) (bool, error) func (*Database) Put ¶ func (db *Database) Put(key string, value []byte) error Source Files ¶ View all Source files memorydb.go Click to show internal directories. Click to hide internal directories.