entity

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entity

type Entity struct {
	Timestamp          time.Time         `json:"-" ch:"timestamp"`
	UpdateTimestamp    time.Time         `json:"-" ch:"update_timestamp"`
	ID                 string            `json:"id" ch:"id"`
	Type               string            `json:"type" ch:"type"`
	Key                string            `json:"key" ch:"key"`
	Values             map[string]string `json:"values" ch:"values"`
	Labels             map[string]string `json:"labels" ch:"labels"`
	CreateTimeUnixNano int64             `json:"createTimeUnixNano"`
	UpdateTimeUnixNano int64             `json:"UpdateTimeUnixNano"`
}

type GroupedEntity

type GroupedEntity struct {
	Timestamp       time.Time         `ch:"_timestamp"`
	UpdateTimestamp time.Time         `ch:"_update_timestamp"`
	ID              string            `ch:"id"`
	Type            string            `ch:"_type"`
	Key             string            `ch:"key"`
	Values          map[string]string `ch:"_values"`
	Labels          map[string]string `ch:"_labels"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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