notifier

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ServerPaths = Paths{
	Email: "/email",
}

ServerPaths holds the server paths

Functions

func HandleEmailRequest

func HandleEmailRequest(req pkg.EmailNotificationRequest) error

HandleEmailRequest handles a pkg.EmailNotificationRequest

func InitIntegrated

func InitIntegrated()

InitIntegrated initializes the integrated notifier "server"

func InitStandalone

func InitStandalone(mailConf config.MailNotificationConf)

InitStandalone initializes a standalone notifier server

Types

type Paths

type Paths struct {
	Email string
}

Paths holds the server paths

func (Paths) Prefix

func (p Paths) Prefix(prefix string) (out Paths)

Prefix prefixes all values in Paths with the specified prefix by url-combining them

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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