localevent

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppLocalEvent

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

AppLocalEvent 本机事件, 同步操作, 有结果返回

func NewAppLocalEvent

func NewAppLocalEvent() *AppLocalEvent

NewAppLocalEvent NewAppLocalEvent

func (*AppLocalEvent) ConsumerEvent

func (ev *AppLocalEvent) ConsumerEvent(group string, name string, fun ipakku.EventHandle) error

ConsumerEvent ConsumerEvent

func (*AppLocalEvent) ConsumerSyncEvent

func (ev *AppLocalEvent) ConsumerSyncEvent(group string, name string, fun ipakku.EventHandle) (err error)

ConsumerSyncEvent ConsumerSyncEvent

func (*AppLocalEvent) Init

func (ev *AppLocalEvent) Init(conf ipakku.AppConfig) error

Init Init

func (*AppLocalEvent) PublishEvent

func (ev *AppLocalEvent) PublishEvent(group string, name string, val interface{}) error

PublishEvent PublishEvent

func (*AppLocalEvent) PublishSyncEvent

func (ev *AppLocalEvent) PublishSyncEvent(group string, name string, val interface{}) (err error)

PublishSyncEvent PublishSyncEvent

Jump to

Keyboard shortcuts

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