encoding

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeApiKeyHash added in v1.1.0

func EncodeApiKeyHash(hash []byte) []byte

func EncodeApiKeyName added in v1.1.0

func EncodeApiKeyName(key []byte) []byte

func EncodeKey

func EncodeKey(key Key) []byte

func EncodeSite

func EncodeSite(key []byte) []byte

func EncodeTranslateID

func EncodeTranslateID(field v1.Field, id uint64) []byte

func EncodeTranslateKey

func EncodeTranslateKey(field v1.Field, value string) []byte

func EncodeTranslateSeq

func EncodeTranslateSeq(field v1.Field) []byte

Types

type Key

type Key struct {
	Time  uint64
	Shard uint32
	Field v1.Field
}

Jump to

Keyboard shortcuts

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