notify

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PushExpireMsg

func PushExpireMsg()

func Send

func Send(title, content string) error

func SendTest

func SendTest(param *sendTestParam) 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