arena

package
v0.0.0-...-89416fd Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arena

type Arena interface {
	Free()
	Bytes() []byte
	Write([]byte) (int, error)
	Append([]byte, []byte) (int, int, error)
	Read([]byte) (int, error)
	ReadAt([]byte, int64, int64) (int, error)
	Cap() uint64
	Len() uint64
}

Arena https://gist.github.com/quillaja/222c9af7ade058b60ed08e13bf0b6387

func NewGoArena

func NewGoArena(f *os.File, size uint64) Arena

type KeyValue

type KeyValue struct {
	Key   json.RawMessage `json:"key"`
	Value json.RawMessage `json:"value"`
}

Jump to

Keyboard shortcuts

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