Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OnTimerFun ¶
type OnTimerFun func(arg interface{}) int
type SysTimerMgr ¶
type SysTimerMgr struct {
// contains filtered or unexported fields
}
func (*SysTimerMgr) AddSecond ¶
func (p *SysTimerMgr) AddSecond(cb OnTimerFun, arg interface{}, second time.Duration) (timer *time.Timer)
func (*SysTimerMgr) Start ¶
func (p *SysTimerMgr) Start(timerOutChan chan<- interface{})
func (*SysTimerMgr) Stop ¶
func (p *SysTimerMgr) Stop()
type SysTimerParameter ¶
type SysTimerParameter struct {
Fun OnTimerFun
Arg interface{}
}
Click to show internal directories.
Click to hide internal directories.