Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventsHandler ¶
type EventsHandler struct {
// contains filtered or unexported fields
}
func NewEventsHandler ¶
func NewEventsHandler() *EventsHandler
func (*EventsHandler) GetHandler ¶
func (e *EventsHandler) GetHandler(t string) func(i interface{}, c context.Context, t <-chan time.Time, s chan struct{}) error
GetHandler 获取handler
func (*EventsHandler) RegHandler ¶
func (e *EventsHandler) RegHandler(t string, handler func(i interface{}, c context.Context, t <-chan time.Time, s chan struct{}) error)
RegHandler 注册handler
Click to show internal directories.
Click to hide internal directories.