Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ScheduleNow ¶ added in v0.3.1
ScheduleNow runs the specified `action` immediately and periodically.
Types ¶
type Reminder ¶
type Reminder struct {
// contains filtered or unexported fields
}
Reminder is used for time consuming operations to remind user about progress.
func NewReminder ¶
NewReminder returns a new Reminder instance.
`level`: log level to remind in general.
`interval`: interval to remind in warning level.
func (*Reminder) RemindWith ¶
RemindWith reminds about specified `message` along with `key` and `value`.
Click to show internal directories.
Click to hide internal directories.