types

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2019 License: GPL-3.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRowKey added in v0.1.1

func GetRowKey(timestamp uint64, salt uint16) []byte

Types

type BaseDataObj

type BaseDataObj struct {
	MetaData MetaDataObj `json:"meta"`
	RealData RealDataObj `json:"real"`
}

type FetchObj

type FetchObj struct {
	RowKeys [][]byte `json:"rowKeys"`
}

type MetaDataObj

type MetaDataObj struct {
	RowKey    []byte `json:"rowKey"`
	OwnerId   string `json:"ownerId"`
	Qualifier []byte `json:"qualifier"`
}

type QueryObj

type QueryObj struct {
	Start     uint64 `json:"start"`
	End       uint64 `json:"end"`
	OwnerId   string `json:"ownerId"`
	Qualifier []byte `json:"qualifier"`
}

type RealDataObj

type RealDataObj struct {
	RowKey []byte `json:"rowKey"`
	Data   []byte `json:"data"`
}

Jump to

Keyboard shortcuts

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