db

package
v2.0.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2015 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CFDot    = 1
	CFDChain = 2
	CFMsg    = 3
	CFMsgI   = 4
	CFEntity = 5
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BWDB

type BWDB interface {
	Initialize(dbname string)
	PutObject(cf int, key []byte, val []byte)
	GetObject(cf int, key []byte) ([]byte, error)
	DeleteObject(cf int, key []byte)
	Exists(cf int, key []byte) bool
	CreateIterator(cf int, prefix []byte) BWDBIterator
}

type BWDBIterator

type BWDBIterator interface {
	Next()
	OK() bool
	Key() []byte
	Value() []byte
	Release()
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL