recno

package
v0.0.0-...-560e318 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: ISC Imports: 2 Imported by: 0

Documentation

Overview

Package recno implements RecNo type of Berkeley DB 1.85

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(file *os.File) db.DB

Types

type RecNo

type RecNo struct {
	// contains filtered or unexported fields
}

func (*RecNo) Close

func (r *RecNo) Close() (err error)

func (*RecNo) Del

func (r *RecNo) Del(key []byte, flag uint) (err error)

func (*RecNo) Fd

func (r *RecNo) Fd() (fd uintptr)

func (*RecNo) Get

func (r *RecNo) Get(key []byte, flag uint) (data []byte, err error)

func (*RecNo) Put

func (r *RecNo) Put(key []byte, data []byte, flag uint) (err error)

func (*RecNo) Seq

func (r *RecNo) Seq(flag uint) (key []byte, data []byte, err error)

func (*RecNo) Sync

func (r *RecNo) Sync(flag uint) (err error)

Jump to

Keyboard shortcuts

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