Documentation ¶ Index ¶ type DB func (m *DB) Close() error func (m *DB) Get(key [storage.KeyLength]byte) (value []byte) func (m *DB) InitDB(string) error func (m *DB) Put(key [storage.KeyLength]byte, value []byte) error func (m *DB) PutBatch(txList []storage.TX) 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 } func (*DB) Close ¶ func (m *DB) Close() error func (*DB) Get ¶ func (m *DB) Get(key [storage.KeyLength]byte) (value []byte) func (*DB) InitDB ¶ func (m *DB) InitDB(string) error func (*DB) Put ¶ func (m *DB) Put(key [storage.KeyLength]byte, value []byte) error func (*DB) PutBatch ¶ func (m *DB) PutBatch(txList []storage.TX) error Source Files ¶ View all Source files db.go Click to show internal directories. Click to hide internal directories.