From ed967899c443330d8a83e121f28cf11768df6611 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 7 Sep 2023 16:19:52 +0800 Subject: [PATCH] 1 --- types.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types.go b/types.go index b580bfd..797134a 100644 --- a/types.go +++ b/types.go @@ -3,6 +3,11 @@ package q5 type TimerCb func (int32, *Args) type Args []interface{} +type Module interface { + Init() + UnInit() +} + const TIMER_EXEC_EVENT = 1 const TIMER_DELETE_EVENT = 2 const TIMER_DESTORY_EVENT = 3