rest

package
v0.1.0-namespaces Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: GPL-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

View Source
const (
	KeyMaxLength   uint16 = 64
	ValueMaxLength uint16 = 16000
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthV1

type HealthV1 struct {
	Status   string `json:"status"`
	Requests int    `json:"requests"`
}

type KVPairV2 added in v1.0.0

type KVPairV2 struct {
	Key       string `json:"key"`
	Namespace string `json:"namespace"`
	Value     string `json:"value"`
}

type KVUpdateV2

type KVUpdateV2 struct {
	Key       string `json:"key"`
	Namespace string `json:"namespace"`
	Type      Type   `json:"type"`
}

type NamespaceV2 added in v1.0.0

type NamespaceV2 struct {
	Name   string `json:"name"`
	Access bool   `json:"access"`
	Size   int    `json:"size"`
}

type Type

type Type string
const (
	TypeRoll     Type = "roll"
	TypeGenerate Type = "generate"
)

Jump to

Keyboard shortcuts

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