types

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestEnvironment = "test"
	DemoEnvironment = "demo"
	LiveEnvironment = "live"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	Name  string
	Alias string
}

func GetEnvironment added in v0.11.7

func GetEnvironment(env string) Environment

type Point added in v0.11.7

type Point struct {
	Timestamp time.Time
	Value     float64
}

type QueryResult added in v0.11.7

type QueryResult struct {
	RefId  string
	Series []*TimeSeries2
}

type Runnable

type Runnable interface {
	Run(ctx context.Context) (*QueryResult, error)
}

type TimeSeries2 added in v0.11.7

type TimeSeries2 struct {
	Name   string
	Points []*Point
}

Jump to

Keyboard shortcuts

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