Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotExists = errors.New("location does not exist")
)
Functions ¶
This section is empty.
Types ¶
type BboltIndex ¶
type BboltIndex struct {
// contains filtered or unexported fields
}
func NewBboltIndex ¶
func NewBboltIndex(file, bucket string) *BboltIndex
func (*BboltIndex) Close ¶
func (b *BboltIndex) Close() error
func (*BboltIndex) GetLocation ¶
func (b *BboltIndex) GetLocation(block uint64) (location uint64, err error)
func (*BboltIndex) Open ¶
func (b *BboltIndex) Open() (err error)
func (*BboltIndex) SetLocation ¶
func (b *BboltIndex) SetLocation(block uint64, location uint64) error
Click to show internal directories.
Click to hide internal directories.