models

package
v0.0.0-...-7d175ed Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CodeSucc = iota
	CodeUserErr
	CodeNonEnoughErr
	CodeNonExistSeries
	CodeInternalErr
)

Variables

View Source
var (
	GitVer    = "unknown"
	BuildTime = "unknown"
)
View Source
var (
	ErrNonEnoughData  = errors.New("not enough data")
	ErrNonExistSeries = errors.New("not exist series")
	ErrInternalError  = errors.New("internal error")
)

Functions

This section is empty.

Types

type Point

type Point struct {
	Key       string  `msg:"key"`
	Timestamp int64   `msg:"timestamp"`
	Value     float64 `msg:"value"`
}

Jump to

Keyboard shortcuts

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