Documentation
¶
Overview ¶
Package clockmap maps monotonic timestamps between WireHop peers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidSample indicates an impossible four-timestamp clock sample. ErrInvalidSample = errors.New("invalid clock sample") // ErrTimestampOverflow indicates a timestamp outside safe signed arithmetic. ErrTimestampOverflow = errors.New("timestamp overflow") )
Functions ¶
This section is empty.
Types ¶
type Mapping ¶
Mapping translates local monotonic timestamps into remote monotonic timestamps.
func (Mapping) DeadlineBounds ¶
DeadlineBounds returns the earliest and latest remote times supported for a local deadline.
Click to show internal directories.
Click to hide internal directories.