Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broadcaster ¶
type Broadcaster interface {
BroadCast(e interface{})
}
type Engine ¶
type Engine struct { Register chan Listener Unregister chan Listener // contains filtered or unexported fields }
func NewEventEngine ¶
func NewEventEngine() *Engine
type EventError ¶
type EventError struct {
Message string
}
func (EventError) Error ¶
func (e EventError) Error() string
Click to show internal directories.
Click to hide internal directories.