Versions in this module Expand all Collapse all v0 v0.5.22 Jul 23, 2014 Changes in this version + type LDBDatabase struct + func NewLDBDatabase(name string) (*LDBDatabase, error) + func (db *LDBDatabase) Close() + func (db *LDBDatabase) Db() *leveldb.DB + func (db *LDBDatabase) Delete(key []byte) error + func (db *LDBDatabase) Get(key []byte) ([]byte, error) + func (db *LDBDatabase) LastKnownTD() []byte + func (db *LDBDatabase) Print() + func (db *LDBDatabase) Put(key []byte, value []byte) + type MemDatabase struct + func NewMemDatabase() (*MemDatabase, error) + func (db *MemDatabase) Close() + func (db *MemDatabase) Delete(key []byte) error + func (db *MemDatabase) Get(key []byte) ([]byte, error) + func (db *MemDatabase) LastKnownTD() []byte + func (db *MemDatabase) Print() + func (db *MemDatabase) Put(key []byte, value []byte)