mirror of
https://github.com/owncast/owncast.git
synced 2024-11-24 13:50:06 +03:00
236f25b772
* 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
8 lines
128 B
Go
8 lines
128 B
Go
package metrics
|
|
|
|
import "time"
|
|
|
|
type timestampedValue struct {
|
|
Time time.Time `json:"time"`
|
|
Value int `json:"value"`
|
|
}
|