Documentation
¶
Index ¶
Constants ¶
View Source
const ( LoopEvent = iota + 1 AtTimeEvent )
event type enum
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { EventType int CountTime int64 DoTime int64 LoopTime time.Duration Do func(interface{}) interface{} IsLaunch bool }
Info UpdateEvent struct DoTime: run at server time on time LoopTime: run at server every pass time.Duration time *LoopTime limit Mini time.Duration is 1 Second
Click to show internal directories.
Click to hide internal directories.