Documentation ¶
Index ¶
- Variables
- type EmailMessage
- func (*EmailMessage) Descriptor() ([]byte, []int)deprecated
- func (x *EmailMessage) GetEmailType() EmailType
- func (x *EmailMessage) GetFrom() string
- func (x *EmailMessage) GetSubject() string
- func (x *EmailMessage) GetTo() string
- func (x *EmailMessage) GetUserName() string
- func (*EmailMessage) ProtoMessage()
- func (x *EmailMessage) ProtoReflect() protoreflect.Message
- func (x *EmailMessage) Reset()
- func (x *EmailMessage) String() string
- type EmailType
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
func (EmailType) Descriptor ¶
func (EmailType) Descriptor() protoreflect.EnumDescriptor
func (EmailType) EnumDescriptor
deprecated
func (EmailType) Number ¶
func (x EmailType) Number() protoreflect.EnumNumber
func (EmailType) Type ¶
func (EmailType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.