handler

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Email

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

func NewEmailHandler

func NewEmailHandler(svc *service.Service) *Email

func (*Email) Parse added in v0.25.0

func (e *Email) Parse(ctx context.Context, req *pb.ParseRequest, rsp *pb.ParseResponse) error

func (*Email) Send

func (e *Email) Send(ctx context.Context, request *pb.SendRequest, response *pb.SendResponse) error

func (*Email) Validate added in v0.25.0

func (e *Email) Validate(ctx context.Context, req *pb.ValidateRequest, rsp *pb.ValidateResponse) error

type Sent

type Sent struct {
	UserID        string
	SendgridMsgID string
}

Jump to

Keyboard shortcuts

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