Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventHandler ¶
type EventHandler struct {
// contains filtered or unexported fields
}
func NewEventHandler ¶
func NewEventHandler() *EventHandler
func (*EventHandler) GetHandler ¶
func (e *EventHandler) GetHandler(name EventName) (Handler, bool)
func (*EventHandler) SetHandler ¶
func (e *EventHandler) SetHandler(handler Handler, name EventName)
type Senju ¶
type Senju struct {
// contains filtered or unexported fields
}
func (*Senju) Add ¶
func (s *Senju) Add(name string, handler *EventHandler)
func (*Senju) SetDuration ¶
func (*Senju) SetErrorHandler ¶ added in v0.0.3
Click to show internal directories.
Click to hide internal directories.