notification

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notification

type Notification struct {
	Text              string `json:"text,omitempty"`
	Email             string `json:"email,omitempty"`
	LogoURL           string `json:"logo_url,omitempty"`
	Subject           string `json:"subject,omitempty"`
	TargetURL         string `json:"target_url,omitempty"`
	EndpointStatus    string `json:"endpoint_status,omitempty"`
	InviteURL         string `json:"invite_url,omitempty"`
	EmailTemplateName string `json:"email_template_name,omitempty"`
	OrganisationName  string `json:"organisation_name,omitempty"`
	InviterName       string `json:"inviter_name,omitempty"`
	PasswordResetURL  string `json:"reset_url,omitempty"`
	RecipientName     string `json:"recipient_name,omitempty"`
	ExpiresAt         string `json:"expires_at,omitempty"`
	SourceName        string `json:"source_name,omitempty"`
	CrcVerifiedAt     string `json:"crc_verified_at,omitempty"`
}

type Sender

type Sender interface {
	SendNotification(context.Context, *Notification) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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