entry

package
v0.0.0-...-0559e4b Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LengthTypeSize = 2
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Comparetor

type Comparetor interface {
	Compare(interface{}, interface{}) bool
}

type Entry

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

func (*Entry) Decode

func (entry *Entry) Decode(data []byte)

decode entry from []byte

func (*Entry) Encode

func (entry *Entry) Encode() []byte

encode key, value to | keyLengh(int16) | Key([]byte) | ValueLengh(int16) | value([]byte) |

func (*Entry) Key

func (entry *Entry) Key() string

entry key

func (*Entry) Value

func (entry *Entry) Value() []byte

entry value

Jump to

Keyboard shortcuts

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