添加reset方法

This commit is contained in:
lifeiyi
2019-02-28 11:42:11 +08:00
parent d021127a77
commit c79994e474

View File

@@ -23,3 +23,7 @@ func (slf *Timer) CheckTimeOut() bool {
return false
}
func (slf *Timer) Reset() {
slf.lasttime = time.Now().UnixNano()
}