emailing

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEmailingAPIServer

func NewEmailingAPIServer(ctx context.Context, opt *Options) (emailing.EmailingServer, error)

NewEmailingAPIServer is singleton for creating email server APIs

Types

type Options

type Options struct {
	Logger       grpclog.LoggerV2
	AuthAPI      auth.API
	SMTPHost     string
	SMTPPort     int
	SMTPUsername string
	SMTPPassword string
}

Options contains the parameters passed while calling NewEmailingAPIServer

Jump to

Keyboard shortcuts

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