mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
添加reset方法
This commit is contained in:
@@ -23,3 +23,7 @@ func (slf *Timer) CheckTimeOut() bool {
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
func (slf *Timer) Reset() {
|
||||
slf.lasttime = time.Now().UnixNano()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user