emails

package
v0.0.0-...-0172641 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2020 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunGRPC

func RunGRPC(port int)

RunGRPC starts main server & work queue

Types

type Server

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

Server core struct

func NewServer

func NewServer() *Server

NewServer creates a new struct to interface the streams server

func (*Server) Send

func (s *Server) Send(ctx context.Context, request *pb.Email) (*pb.EmailResponse, error)

Send triggers an email with templating Plain text is not modified by the template

func (*Server) SendRaw

func (s *Server) SendRaw(ctx context.Context, request *pb.Email) (*pb.EmailResponse, error)

SendRaw triggers a raw email without templating

Directories

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

Jump to

Keyboard shortcuts

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