notify

package
v1.132.0-pfs-report-re... Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const ProcessingErrorTemplateId = "872d88b3-076e-495c-bf81-a2be2d3d234c"
View Source
const ProcessingFailedTemplateId = "a8f9ab79-1489-4639-9e6c-cad1f079ebcf"
View Source
const ProcessingSuccessTemplateId = "8c85cf6c-695f-493a-a25f-77b4fb5f6a8e"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient() *Client

func (*Client) Send

func (c *Client) Send(ctx context.Context, payload Payload) error

type Payload

type Payload struct {
	EmailAddress    string      `json:"email_address"`
	TemplateId      string      `json:"template_id"`
	Personalisation interface{} `json:"personalisation"`
}

type ProcessingFailedPersonalisation

type ProcessingFailedPersonalisation struct {
	FailedLines []string `json:"failed_lines"`
	UploadType  string   `json:"upload_type"`
}

type ProcessingSuccessPersonalisation

type ProcessingSuccessPersonalisation struct {
	UploadType string `json:"upload_type"`
}

Jump to

Keyboard shortcuts

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