Documentation ¶
Overview ¶
package clockSkew tracks local clock skew relative to gateways.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tracker ¶
type Tracker interface { // Add additional data to our aggregate clock skews. Add(gwID *id.ID, startTime, rTs time.Time, rtt, gwD time.Duration) // Aggregate returns the average of the last n offsets. Aggregate() time.Duration }
Tracker tracks local clock skew relative to various gateways.
Click to show internal directories.
Click to hide internal directories.