core_event

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppEventContext

type AppEventContext struct {
	// contains filtered or unexported fields
}

func GetAppEventContext

func GetAppEventContext() *AppEventContext

func (*AppEventContext) Emit

func (context *AppEventContext) Emit(event string, args ...any) error

func (*AppEventContext) On

func (context *AppEventContext) On(event string, handler AppEventHandler)

type AppEventHandler

type AppEventHandler func(event string, args ...any) error

Jump to

Keyboard shortcuts

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