statusmonitor/source.go

8 lines
135 B
Go
Raw Normal View History

2017-12-19 14:37:58 +00:00
package main
// Source represents data source for monitoring.
type Source interface {
PID() (int64, error)
CPU() (float64, error)
}