stat

package
v0.0.0-...-132e2ad Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stat

type Stat struct {
	ID        uint    `gorm:"primary_key" json:"-"`
	Metric    string  `json:"metric,omitempty"`
	Project   string  `json:"project,omitempty"`
	Timestamp int64   `json:"timestamp,omitempty"`
	Value     float64 `json:"value"`
}

Stat represents a stat value.

func (*Stat) Key

func (s *Stat) Key() string

Key returns the stat key.

Jump to

Keyboard shortcuts

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