sender

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceName = data.ModuleName + "-sender"

Variables

This section is empty.

Functions

func CtxSenderInstance

func CtxSenderInstance(entry interface{}, ctx context.Context) context.Context

func NewSenderAsInterface

func NewSenderAsInterface(cfg config.Config, _ context.Context) interface{}

func RunSenderAsInterface

func RunSenderAsInterface(structure interface{}, ctx context.Context)

Types

type Sender

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

func SenderInstance

func SenderInstance(ctx context.Context) *Sender

func (*Sender) Run

func (s *Sender) Run(ctx context.Context)

func (*Sender) SendMessageToCustomChannel

func (s *Sender) SendMessageToCustomChannel(topic string, msg *message.Message) error

Jump to

Keyboard shortcuts

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