mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
add StreamLogs() to collector interface
This commit is contained in:
@@ -24,10 +24,3 @@ func NewMetrics() Metrics {
|
||||
Pids: -1,
|
||||
}
|
||||
}
|
||||
|
||||
type Collector interface {
|
||||
Stream() chan Metrics
|
||||
Running() bool
|
||||
Start()
|
||||
Stop()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user