package clock

Import Path
	github.com/gotd/td/clock (on go.dev)

Dependency Relation
	imports 2 packages, and imported by 9 packages

Involved Source Files Package clock abstracts time source. system.go
Package-Level Type Names (total 6, in which 3 are exported)
/* sort exporteds by: | */
Clock is current time source. ( Clock) Now() time.Time ( Clock) Ticker(d time.Duration) Ticker ( Clock) Timer(d time.Duration) Timer *github.com/gotd/neo.Time Clock : github.com/cenkalti/backoff/v4.Clock func github.com/gotd/td/internal/exchange.Exchanger.WithClock(c Clock) exchange.Exchanger func github.com/gotd/td/internal/tdsync.(*LogGroup).SetClock(c Clock) func github.com/gotd/td/tgerr.FloodWaitWithClock(c Clock) tgerr.FloodWaitOption var System
Ticker abstracts a channel that delivers “ticks” of a clock at intervals.
Timer abstracts a single event.
Package-Level Functions (only one, which is exported)
StopTimer stops timer and drains timer channel if Stop() returned false.
Package-Level Variables (only one, which is exported)
System Clock.