emailing

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 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
	JWTSigningKey []byte
	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