nats_email

package module
v0.0.0-...-8211ab3 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2017 License: MIT Imports: 10 Imported by: 0

README

nats-email

Nats block for send emails

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	EmailServerAddress  string `json:"emailServerHost"`
	EmailServerUserName string `json:"emailServerUserName"`
	EmailServerPassword string `json:"emailServerPassword"`

	ListenNatsSubject string `json:"listenNatsSubject"`
	OutputNatsSubject string `json:"outputNatsSubject"`
	PacketFormat      string `json:"packetFormat"`

	NatsAddress  string `json:"natsAddress"`
	NatsPoolSize int    `json:"natsPoolSize"`
}

type NatsEmail

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

func New

func New(config *Config) *NatsEmail

func (*NatsEmail) Start

func (e *NatsEmail) Start()

func (*NatsEmail) Stop

func (e *NatsEmail) Stop()

Directories

Path Synopsis
Package pb is a generated protocol buffer package.
Package pb is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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