aboutsummaryrefslogtreecommitdiff
path: root/recno/recno.go
blob: 07a20505903a081f7e10acbab4eff7629c96949e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package recno

import "os"

type RecNo struct {
	file *os.File
}

func New(file *os.File) *RecNo {
	return &RecNo{file: file}
}

func (r *RecNo) Close() error {
	return r.file.Close()
}

func (r *RecNo) Del(key []byte, flags uint) error {
	panic("not implemented")
}

func (r *RecNo) Fd() uintptr {
	return r.file.Fd()
}

func (r *RecNo) Get(key []byte, flags uint) ([]byte, error) {
	panic("not implemented")
}

func (r *RecNo) Put(key []byte, data []byte, flags uint) error {
	panic("not implemented")
}

func (r *RecNo) Sync(flags uint) error {
	panic("not implemented")
}

func (r *RecNo) Seq(key []byte, flags uint) ([]byte, error) {
	panic("not implemented")
}