Documentation
¶
Index ¶
- Variables
- type DB
- func (d *DB) Close() error
- func (d *DB) CreateMap(pth string) error
- func (d *DB) Exists(path string) (bool, error)
- func (d *DB) Get(path string) ([]byte, error)
- func (d *DB) NewWriteTransaction() (*WriteTransaction, error)
- func (d *DB) Put(pth string, data []byte) error
- func (d *DB) Size(path string) (uint64, error)
- type WriteTransaction
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = serrors.New("not found")
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) NewWriteTransaction ¶
func (d *DB) NewWriteTransaction() (*WriteTransaction, error)
type WriteTransaction ¶
type WriteTransaction struct {
// contains filtered or unexported fields
}
func (*WriteTransaction) CreateMap ¶
func (d *WriteTransaction) CreateMap(pth string) error
Click to show internal directories.
Click to hide internal directories.