model

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleLineGraphMetaData

func HandleLineGraphMetaData(lang i18n.LanguageCodes, i18n i18n.Translator, title string, dataType structure.Type, dataPrecision structure.Precision, graph []*LineGraphMetaData) *linegraph.Data

func ToQueryParams

func ToQueryParams(tenantId string, serviceId string, instanceId string) map[string]*structpb.Value

Types

type LineGraphMetaData

type LineGraphMetaData struct {
	Time      string  `json:"time,omitempty"`
	Value     float64 `json:"value,omitempty"`
	Dimension string  `json:"dimension,omitempty"`
}

Jump to

Keyboard shortcuts

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