config

package
v0.0.0-...-b393477 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(f string) error

Types

type Config

type Config struct {
	Beanstalk string
	From      map[string]ConfigFrom
}
var (
	C Config
)

type ConfigFrom

type ConfigFrom struct {
	User     string
	Pass     string
	Host     string
	Port     int
	From     string
	Display  string
	Bcc      []string
	Bounce   *string
	Hostname string
	Insecure bool

	AllowBCC bool
}

type Email

type Email struct {
	From        string
	To          []string
	BCC         []string
	Subject     string
	Html        string
	Text        string
	HtmlEmbed   map[string]string // file.png => base64(bytes)
	Attachments map[string]string // file.png => base64(bytes)
}

Jump to

Keyboard shortcuts

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