response

package
v0.0.0-...-b178995 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyValue

type KeyValue struct {
	Key     string `json:"key,omitempty"`
	Hash    string `json:"hash"`
	Data    []byte `json:"data"`
	Version int    `json:"version"`
}

KeyValue holds a singke key value pair, along with the version (the creation timestamp)

type KeyValueVersions

type KeyValueVersions struct {
	Key      string      `json:"key"`
	Versions []*KeyValue `json:"versions"`
}

KeyValueVersions holds the full history for a key value pair

type KeysResponse

type KeysResponse struct {
	Keys []*KeyValue `json:"keys"`
}

KeysResponse is a wrapper for a list of key value pairs

Jump to

Keyboard shortcuts

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