Discover Packages
github.com/artofimagination/timescaledb-statistics-go-service
models
package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Mar 29, 2021
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type DataMap map[string ]interface{}
type StatsFP struct {
CreatedAt time .Time `json:"created_at" validation:"required"`
Category int `json:"category" validation:"required"`
Data float64 `json:"data" validation:"required"`
}
StatsFP represents floating point daily statistics entry
type StatsInt struct {
CreatedAt time .Time `json:"created_at" validation:"required"`
Category int `json:"category" validation:"required"`
Data int `json:"data" validation:"required"`
}
StatsInt represents integer statistics entry
type StatsJSON struct {
CreatedAt time .Time `json:"created_at" validation:"required"`
Category int `json:"category" validation:"required"`
Data DataMap `json:"data" validation:"required"`
}
StatsJSON represents JSON daily statistics entry
Source Files
¶
Click to show internal directories.
Click to hide internal directories.