Documentation
¶
Overview ¶
Package atomic_clock is convenient API around atomic int64 monotonic clock. Use for time accounting. Do not use where actual time value matters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Clock ¶
type Clock struct {
// contains filtered or unexported fields
}
func (*Clock) SetNowIfZero ¶
func (c *Clock) SetNowIfZero()
Click to show internal directories.
Click to hide internal directories.