patterns

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetricNameLabel  = "__name__"
	MetricValueLabel = "_value"
	MetricTimeLabel  = "_time"
	ReplaceDelimeter = "=>"
)

Variables

View Source
var Value1 string

Functions

func Call1

func Call1()

func Call2

func Call2(v string)

func DateFormat

func DateFormat(date string) string

func PatternSingleTone

func PatternSingleTone()

Types

type Config

type Config struct {
	Cfgs []SubConfig
}

type GlobalObject

type GlobalObject struct {
	Name  string
	Value int
}

func (GlobalObject) GetName

func (g GlobalObject) GetName() string

type SerialData

type SerialData struct {
	Measurement string
	Value       float64
	Timestamp   int64
}

func (*SerialData) Time

func (s *SerialData) Time() time.Time

type SerialDatas

type SerialDatas []*SerialData

type SubConfig

type SubConfig struct {
	Value string `toml:"VALUE"`
}

Jump to

Keyboard shortcuts

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