infrastructure

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EBusAdapter

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

func NewEBusAdapter

func NewEBusAdapter(redisClient *tredis.RedisClient) EBusAdapter

func (EBusAdapter) Listen

func (a EBusAdapter) Listen(ctx context.Context, channelName string, callBack func(channelName string, logData me.LogData))

Listen listens to the redis messaging queue and calls the given callBack function for each received log.

Jump to

Keyboard shortcuts

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