event

package
v0.5.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL