mailer

package
v0.0.0-...-a0d1ad3 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCache

func NewCache(k, v string) *cache

func NewCacheGet

func NewCacheGet(k string) *cache

func ValidateCodeGenerator

func ValidateCodeGenerator(width int) string

Types

type Format

type Format struct {
	Username string
	Domain   string
}

func ParseEmailAddress

func ParseEmailAddress(email string) (*Format, error)

type SMTP

type SMTP interface {
	Send() error
}

type SMTPServer

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

func (*SMTPServer) Send

func (s *SMTPServer) Send() error

type ValidateCodeCache

type ValidateCodeCache interface {
	Set() error
	Get() error
}

Jump to

Keyboard shortcuts

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