Documentation ¶
Index ¶
Constants ¶
Variables ¶
View Source
var DefaultPeriodes = &ServerStatsPeriodes{ Mem: 1 * time.Second, LoadAvg: 1 * time.Second, Cpu: 1 * time.Second, }
Functions ¶
This section is empty.
Types ¶
type ServerStats ¶
type ServerStats struct {
Metrics chan Metric
}
func NewServerStats ¶
func NewServerStats(periodes *ServerStatsPeriodes) *ServerStats
Click to show internal directories.
Click to hide internal directories.