appevent

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 AppEvent

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

AppEvent 事件模块

func (*AppEvent) AsModule

func (ev *AppEvent) AsModule() ipakku.Opts

AsModule 作为一个模块加载

func (*AppEvent) ConsumerEvent

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

ConsumerEvent ConsumerEvent

func (*AppEvent) ConsumerSyncEvent

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

ConsumerSyncEvent ConsumerSyncEvent

func (*AppEvent) PublishEvent

func (ev *AppEvent) PublishEvent(name string, val string, obj interface{}) error

PublishEvent PublishEvent

func (*AppEvent) PublishSyncEvent

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

PublishSyncEvent PublishSyncEvent

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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