event_bak

package
v1.20.76 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AsyncEvent

type AsyncEvent struct {
	Name string
	Tag  string
	Data map[string]interface{}
}

func NewAsyncEvent

func NewAsyncEvent(name string, tag string) *AsyncEvent

type AsyncEventService

type AsyncEventService struct {
}

func NewAsyncEventService

func NewAsyncEventService() *AsyncEventService

func (*AsyncEventService) Send

func (this *AsyncEventService) Send(asyncEvent *AsyncEvent, data map[string]interface{})

type ConsoleBroker

type ConsoleBroker struct {
}

func NewConsoleBroker

func NewConsoleBroker() *ConsoleBroker

func (*ConsoleBroker) Send

func (this *ConsoleBroker) Send(asyncEvent *AsyncEvent)

type IBroker

type IBroker interface {
	Send(asyncEvent *AsyncEvent)
}

type MNSBroker

type MNSBroker struct {
}

func NewMNSBroker

func NewMNSBroker() *MNSBroker

func (*MNSBroker) Send

func (this *MNSBroker) Send(asyncEvent *AsyncEvent)

Jump to

Keyboard shortcuts

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