Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Monitor ¶
type Monitor interface { // Starts the long running monitoring. The method itself is not // blocking and not reentrant! Start() error // Cancels the underlying ptrace execution context but doesn't // make the current monitor done immediately. You still need to await // the final cleanup with <-mon.Done() before accessing the status. Cancel() // With Done clients can await for the monitoring completion. // The method is reentrant - every invocation returns the same // instance of the channel. Done() <-chan struct{} Status() (*report.FanMonitorReport, error) }
Click to show internal directories.
Click to hide internal directories.