Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Schedule ¶
func Schedule(delay time.Duration, fun ScheduledFunc)
Schedule runs the function after the delay
Types ¶
type ScheduledFunc ¶
type ScheduledFunc func()
type Timestamp ¶ added in v0.21.0
type Timestamp struct {
// contains filtered or unexported fields
}
Timestamp is a thread safe timestamp
func NewAsyncTimestamp ¶ added in v0.21.0
func (*Timestamp) LastTimestamp ¶ added in v0.21.0
LastTimestamp returns the last set timestamp
Click to show internal directories.
Click to hide internal directories.