owncast/metrics/timestampedValue.go
Gabe Kangas 236f25b772
Viewer metrics api (#208)
* Add support for ending the inbound stream. Closes #191

* Add a simple success response to API requests

* Add viewers over time API

* Move controllers to admin directory
2020-10-02 00:06:14 -07:00

8 lines
128 B
Go

package metrics
import "time"
type timestampedValue struct {
Time time.Time `json:"time"`
Value int `json:"value"`
}