facade

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Topic     string
	Header    string
	Body      string
	Params    map[string]string
	Meta      []string
	Timestamp int64
}

type NotificationFacade

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

func NewNotificationFacade

func NewNotificationFacade(repository *notifications.NotificationRepository, log *zap.Logger) *NotificationFacade

func (*NotificationFacade) Publish

func (f *NotificationFacade) Publish(ctx context.Context, flow string, message Message, userId string)

Jump to

Keyboard shortcuts

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