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