ports

package
v0.0.0-...-6bf298d Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MsgPubber

type MsgPubber interface {
	Put(ctx context.Context, msg *models.MsgAnalytics) error
}

MsgPubber writes messages for analytics microservice

type MsgSubber

type MsgSubber interface {
	Get(ctx context.Context, msg *models.MsgTask) error
}

MsgSubber listens for messages from task microservice

type SMTPSender

type SMTPSender interface {
	Send(ctx context.Context, msg *models.MsgSMTP) error
	Notify(ctx context.Context, msg *models.MsgAnalytics) error
}

SMTPSender sends smtp messages

Jump to

Keyboard shortcuts

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