Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RealClock ¶
type RealClock struct { }
RealClock wraps the time package and uses the system time to tell time.
type RealTicker ¶
type RealTicker struct {
// contains filtered or unexported fields
}
RealTicker wraps the time package and uses system time to tick time intervals.
func (RealTicker) C ¶
func (t RealTicker) C() <-chan time.Time
C returns a channel that receives the current time when RealTicker ticks.
Click to show internal directories.
Click to hide internal directories.