mail

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MailHandler

type MailHandler struct {
	Queue chan *gomail.Message
	// contains filtered or unexported fields
}

func NewMailHandler

func NewMailHandler(pConf *core.AppConfig, pRouter *mux.Router) (*MailHandler, error)

func (*MailHandler) HandleMessage

func (self *MailHandler) HandleMessage(pRes http.ResponseWriter, pReq *http.Request)

func (*MailHandler) Run

func (self *MailHandler) Run()

type StatusResponse

type StatusResponse struct {
	Outgoing int `json:"outgoing"`
}

Jump to

Keyboard shortcuts

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