key

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key []byte

func New

func New() Key

func (Key) AppendAny

func (k Key) AppendAny(v any) Key

func (Key) AppendInvertedJSON

func (k Key) AppendInvertedJSON(v *fastjson.Value) Key

func (Key) AppendJSON

func (k Key) AppendJSON(v *fastjson.Value) Key

func (Key) Copy

func (k Key) Copy() Key

func (Key) CopyTo

func (k Key) CopyTo(k2 Key) []byte

func (Key) Empty

func (k Key) Empty() bool

func (Key) Equal

func (k Key) Equal(k2 Key) bool

func (Key) ReadAnyValue

func (k Key) ReadAnyValue(f func(v any) error) (err error)

func (Key) ReadByteValues

func (k Key) ReadByteValues(f func(b []byte) error) (err error)

func (Key) ReadJSONValue

func (k Key) ReadJSONValue(p *fastjson.Parser, a *fastjson.Arena, f func(v *fastjson.Value) error) (err error)

func (Key) String

func (k Key) String() (res string)

Jump to

Keyboard shortcuts

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