Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrEventIsRunning = errors.New("cannot add action when event running")
)
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { OnTimeout func() // Event超时后默认执行的Handler // contains filtered or unexported fields }
func (*Event) AddActionWithHandler ¶
Click to show internal directories.
Click to hide internal directories.