email_queue

package
v0.0.0-...-811cf6c Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EmailType_name = map[int32]string{
		0: "PASSWORD_RESET_EMAIL",
		1: "WELCOME_EMAIL",
	}
	EmailType_value = map[string]int32{
		"PASSWORD_RESET_EMAIL": 0,
		"WELCOME_EMAIL":        1,
	}
)

Enum value maps for EmailType.

View Source
var File_email_queue_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EmailMessage

type EmailMessage struct {
	From      string    `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To        string    `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Subject   string    `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	UserName  string    `protobuf:"bytes,4,opt,name=userName,proto3" json:"userName,omitempty"`
	EmailType EmailType `protobuf:"varint,5,opt,name=emailType,proto3,enum=email_queue.EmailType" json:"emailType,omitempty"`
	// contains filtered or unexported fields
}

EmailMessage: represents an email message

func (*EmailMessage) Descriptor deprecated

func (*EmailMessage) Descriptor() ([]byte, []int)

Deprecated: Use EmailMessage.ProtoReflect.Descriptor instead.

func (*EmailMessage) GetEmailType

func (x *EmailMessage) GetEmailType() EmailType

func (*EmailMessage) GetFrom

func (x *EmailMessage) GetFrom() string

func (*EmailMessage) GetSubject

func (x *EmailMessage) GetSubject() string

func (*EmailMessage) GetTo

func (x *EmailMessage) GetTo() string

func (*EmailMessage) GetUserName

func (x *EmailMessage) GetUserName() string

func (*EmailMessage) ProtoMessage

func (*EmailMessage) ProtoMessage()

func (*EmailMessage) ProtoReflect

func (x *EmailMessage) ProtoReflect() protoreflect.Message

func (*EmailMessage) Reset

func (x *EmailMessage) Reset()

func (*EmailMessage) String

func (x *EmailMessage) String() string

type EmailType

type EmailType int32
const (
	EmailType_PASSWORD_RESET_EMAIL EmailType = 0
	EmailType_WELCOME_EMAIL        EmailType = 1
)

func (EmailType) Descriptor

func (EmailType) Descriptor() protoreflect.EnumDescriptor

func (EmailType) Enum

func (x EmailType) Enum() *EmailType

func (EmailType) EnumDescriptor deprecated

func (EmailType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EmailType.Descriptor instead.

func (EmailType) Number

func (x EmailType) Number() protoreflect.EnumNumber

func (EmailType) String

func (x EmailType) String() string

func (EmailType) Type

Jump to

Keyboard shortcuts

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