publish

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 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 LogAsyncEvent

type LogAsyncEvent struct {
	Topic string
}

type LogAsyncEventMessage

type LogAsyncEventMessage struct {
	Topic string
	Data  interface{}
}

type LogPublisherFactory

type LogPublisherFactory struct{}

func (*LogPublisherFactory) NewMessage

func (m *LogPublisherFactory) NewMessage(topic string, data interface{}) *LogAsyncEventMessage

func (*LogPublisherFactory) PublishAsyncEvent

func (m *LogPublisherFactory) PublishAsyncEvent(msg *LogAsyncEventMessage) (bool, error)

type LogPublisherInterface

type LogPublisherInterface interface {
	PublishAsyncEvent(msg *LogAsyncEventMessage) (bool, error)
	NewAsyncEventMessage(msg *LogAsyncEventMessage) *LogAsyncEventMessage
}

Jump to

Keyboard shortcuts

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