Documentation ¶
Index ¶
- Variables
- func BufFromBytes(b []byte) C.PossumBuf
- func BufFromString(s string) C.PossumBuf
- func CleanupSnapshots(h *Handle) error
- func CommitWriter(w Writer) error
- func DropHandle(handle *Handle)
- func ReaderBegin(r Reader) error
- func ReaderEnd(r Reader)
- func SetInstanceLimits(h *Handle, limits Limits) error
- func SingleDelete(handle *Handle, key string) (opt generics.Option[Stat], err error)
- func SingleReadAt(handle *Handle, key string, buf []byte, offset uint64) (n int, err error)
- func SingleStat(handle *Handle, key string) (opt generics.Option[Stat])
- func StageWrite(w Writer, key []byte, vw ValueWriter) error
- func ValueReadAt(v Value, buf []byte, offset int64) (n int, err error)
- func ValueWriterFd(vw ValueWriter) int
- func WriteSingleBuf(handle *Handle, key string, buf []byte) (written uint, err error)
- type Error
- type Handle
- type Item
- type Limits
- type Reader
- type Stat
- type Value
- type ValueWriter
- type Writer
Constants ¶
This section is empty.
Variables ¶
View Source
var NoSuchKey = Error{ // contains filtered or unexported fields }
Functions ¶
func BufFromBytes ¶
func BufFromString ¶
func CleanupSnapshots ¶
func CommitWriter ¶
func DropHandle ¶
func DropHandle(handle *Handle)
func ReaderBegin ¶
func SetInstanceLimits ¶
func SingleDelete ¶
func SingleReadAt ¶
func StageWrite ¶
func StageWrite(w Writer, key []byte, vw ValueWriter) error
func ValueWriterFd ¶
func ValueWriterFd(vw ValueWriter) int
Types ¶
type Item ¶
func HandleListItems ¶
type Reader ¶
type Reader = *C.PossumReader
type Stat ¶
type Stat = C.PossumStat
type Value ¶
type Value = *C.PossumValue
type ValueWriter ¶
type ValueWriter = *C.PossumValueWriter
func StartNewValue ¶
func StartNewValue(w Writer) (vw ValueWriter, err error)
Click to show internal directories.
Click to hide internal directories.