Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Schedule ¶
type Schedule struct { IDGen uint64 // contains filtered or unexported fields }
Schedule 时间表 命名也只是不想与标准库Timer重名而已 定时时间精确到秒,不精确管理goroutine的退出 主要逻辑只不过是对标准库Timer、Ticker封装管理而已
Click to show internal directories.
Click to hide internal directories.