email

package
v0.21.18 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func To

func To(emails []string, opts ...Option) alertmanager.ContactPointOption

To creates an "email" contact point type.

Types

type Option

type Option func(contactType *emailType)

Option represents an option that can be used to configure an "email" contact point type.

func Message

func Message(content string) Option

Message sets an optional message that will be included in the email. Variables are allowed.

func Single

func Single() Option

Single send a single email to all recipients.

Jump to

Keyboard shortcuts

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