notificator

package
v0.0.0-...-f6cc6f7 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfirmationPayload

type ConfirmationPayload struct {
	Name string `json:"name"`
	Time string `json:"time"`
	Link string `json:"link"`
}

type Connector

type Connector interface {
	SendRecoveryEmail(address string, payload *RecoveryPayload) error
	SendConfirmationEmail(address string, payload *ConfirmationPayload) error
}

func NewConnector

func NewConnector(endpoint *url.URL, log *logan.Entry) Connector

func NewDisabledConnector

func NewDisabledConnector(log *logan.Entry) Connector

type RecoveryPayload

type RecoveryPayload struct {
	Name string `json:"name"`
	Time string `json:"time"`
	Link string `json:"link"`
}

Jump to

Keyboard shortcuts

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