handlers

package
v0.0.0-...-3baba84 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SMTPHandler

func SMTPHandler(c SMTPConfig) *log.Handler

Types

type SMTPConfig

type SMTPConfig struct {
	From    string // "Sender <sender@example.com>"
	To      []string
	Subject string

	Server string // host:port
	Auth   smtp.Auth

	Enabler zapcore.LevelEnabler
}

Jump to

Keyboard shortcuts

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