Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { // Should only be called once StartTracking(nodeIDs []ids.ShortID) error // Should only be called once Shutdown(nodeIDs []ids.ShortID) error Connect(nodeID ids.ShortID) error IsConnected(nodeID ids.ShortID) bool Disconnect(nodeID ids.ShortID) error CalculateUptime(nodeID ids.ShortID) (time.Duration, time.Time, error) CalculateUptimePercent(nodeID ids.ShortID, startTime time.Time) (float64, error) }
func NewManager ¶
type TestManager ¶
Click to show internal directories.
Click to hide internal directories.