emailing

package
v0.12.6 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: MIT Imports: 9 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