xevent

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LicenseXXXEvent = iota + 1 // 事件ID
)

事件ID

Variables

This section is empty.

Functions

func Debug added in v0.0.7

func Debug()

func Event added in v0.0.7

func Event(eventID int)

Event 事件触发

func Register added in v0.0.7

func Register(eventID int, handle Handle) (uuid string)

Register 事件注册

func Remove added in v0.0.7

func Remove(eventID int, uuid string)

Remove 删除注册事件

Types

type Handle added in v0.0.7

type Handle func()

Jump to

Keyboard shortcuts

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