notify

package
v0.3.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendToAllChannels added in v0.2.19

func SendToAllChannels(subject, message string) error

func SendToChannel added in v0.2.19

func SendToChannel(subject, message string, channel string, channelConfig map[string]any) error

Types

type NotifyService

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

func NewNotifyService

func NewNotifyService(settingRepo SettingRepository) *NotifyService

func (*NotifyService) Test

type SettingRepository

type SettingRepository interface {
	GetByName(ctx context.Context, name string) (*domain.Setting, error)
}

Jump to

Keyboard shortcuts

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