notify

package
v0.4.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier

type Notifier interface {
	Notify(ctx context.Context) error
}

func NewWithWorkflowNode

func NewWithWorkflowNode(config NotifierWithWorkflowNodeConfig) (Notifier, error)

TODO: refactor

type NotifierWithWorkflowNodeConfig

type NotifierWithWorkflowNodeConfig struct {
	Node    *domain.WorkflowNode
	Logger  *slog.Logger
	Subject string
	Message string
}

type NotifyService

type NotifyService struct{}

func NewNotifyService

func NewNotifyService() *NotifyService

func (*NotifyService) TestPush added in v0.4.0

func (n *NotifyService) TestPush(ctx context.Context, req *dtos.NotifyTestPushReq) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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