Documentation ¶ Index ¶ type Ctrl func NewCtrl(c *core.Core) *Ctrl func (h *Ctrl) Emit(e core.EventType, args ...interface{}) func (h *Ctrl) Subscribe(e core.EventType, f core.EventHook, key string) func (h *Ctrl) Unsubscribe(e core.EventType, key string) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Ctrl ¶ type Ctrl struct { // contains filtered or unexported fields } func NewCtrl ¶ func NewCtrl(c *core.Core) *Ctrl func (*Ctrl) Emit ¶ func (h *Ctrl) Emit(e core.EventType, args ...interface{}) func (*Ctrl) Subscribe ¶ func (h *Ctrl) Subscribe(e core.EventType, f core.EventHook, key string) func (*Ctrl) Unsubscribe ¶ func (h *Ctrl) Unsubscribe(e core.EventType, key string) Source Files ¶ View all Source files events.go Click to show internal directories. Click to hide internal directories.