Documentation ¶
Index ¶
- Variables
- type EmailContract
- func (*EmailContract) Descriptor() ([]byte, []int)deprecated
- func (x *EmailContract) GetEmailType() EmailType
- func (x *EmailContract) GetFirstName() string
- func (x *EmailContract) GetFrom() string
- func (x *EmailContract) GetMessage() string
- func (x *EmailContract) GetMetadata() *Metadata
- func (x *EmailContract) GetSubject() string
- func (x *EmailContract) GetTo() string
- func (x *EmailContract) GetToken() *Tokens
- func (x *EmailContract) GetUserName() string
- func (*EmailContract) ProtoMessage()
- func (x *EmailContract) ProtoReflect() protoreflect.Message
- func (x *EmailContract) Reset()
- func (x *EmailContract) String() string
- type EmailMessage
- func (*EmailMessage) Descriptor() ([]byte, []int)deprecated
- func (x *EmailMessage) GetEmailType() EmailType
- func (x *EmailMessage) GetFirstName() string
- func (x *EmailMessage) GetFrom() string
- func (x *EmailMessage) GetLastName() string
- func (x *EmailMessage) GetPasswordResetAuthnID() int32
- func (x *EmailMessage) GetPasswordResetToken() string
- func (x *EmailMessage) GetSubject() string
- func (x *EmailMessage) GetTo() string
- func (x *EmailMessage) GetUserID() string
- func (x *EmailMessage) GetUserName() string
- func (x *EmailMessage) GetVerificationAddress() string
- func (*EmailMessage) ProtoMessage()
- func (x *EmailMessage) ProtoReflect() protoreflect.Message
- func (x *EmailMessage) Reset()
- func (x *EmailMessage) String() string
- type EmailType
- type Metadata
- type Tokens
- func (*Tokens) Descriptor() ([]byte, []int)deprecated
- func (x *Tokens) GetAccountActivationToken() string
- func (x *Tokens) GetInviteCodeToken() string
- func (x *Tokens) GetPasswordResetToken() string
- func (*Tokens) ProtoMessage()
- func (x *Tokens) ProtoReflect() protoreflect.Message
- func (x *Tokens) Reset()
- func (x *Tokens) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EmailType_name = map[int32]string{ 0: "PASSWORD_RESET_EMAIL", 1: "WELCOME_EMAIL", 2: "RESET_EMAIL", 3: "INVITE_CODE", 4: "SYSTEM_MAINTENANCE", 5: "PROMOTIONAL", } EmailType_value = map[string]int32{ "PASSWORD_RESET_EMAIL": 0, "WELCOME_EMAIL": 1, "RESET_EMAIL": 2, "INVITE_CODE": 3, "SYSTEM_MAINTENANCE": 4, "PROMOTIONAL": 5, } )
Enum value maps for EmailType.
View Source
var File_email_queue_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type EmailContract ¶
type EmailContract 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"` Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` EmailType EmailType `protobuf:"varint,5,opt,name=emailType,proto3,enum=email_queue.EmailType" json:"emailType,omitempty"` UserName string `protobuf:"bytes,6,opt,name=userName,proto3" json:"userName,omitempty"` FirstName string `protobuf:"bytes,7,opt,name=firstName,proto3" json:"firstName,omitempty"` Metadata *Metadata `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` Token *Tokens `protobuf:"bytes,9,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*EmailContract) Descriptor
deprecated
func (*EmailContract) Descriptor() ([]byte, []int)
Deprecated: Use EmailContract.ProtoReflect.Descriptor instead.
func (*EmailContract) GetEmailType ¶
func (x *EmailContract) GetEmailType() EmailType
func (*EmailContract) GetFirstName ¶
func (x *EmailContract) GetFirstName() string
func (*EmailContract) GetFrom ¶
func (x *EmailContract) GetFrom() string
func (*EmailContract) GetMessage ¶
func (x *EmailContract) GetMessage() string
func (*EmailContract) GetMetadata ¶
func (x *EmailContract) GetMetadata() *Metadata
func (*EmailContract) GetSubject ¶
func (x *EmailContract) GetSubject() string
func (*EmailContract) GetTo ¶
func (x *EmailContract) GetTo() string
func (*EmailContract) GetToken ¶
func (x *EmailContract) GetToken() *Tokens
func (*EmailContract) GetUserName ¶
func (x *EmailContract) GetUserName() string
func (*EmailContract) ProtoMessage ¶
func (*EmailContract) ProtoMessage()
func (*EmailContract) ProtoReflect ¶
func (x *EmailContract) ProtoReflect() protoreflect.Message
func (*EmailContract) Reset ¶
func (x *EmailContract) Reset()
func (*EmailContract) String ¶
func (x *EmailContract) String() string
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"` FirstName string `protobuf:"bytes,6,opt,name=firstName,proto3" json:"firstName,omitempty"` LastName string `protobuf:"bytes,7,opt,name=lastName,proto3" json:"lastName,omitempty"` VerificationAddress string `protobuf:"bytes,8,opt,name=verificationAddress,proto3" json:"verificationAddress,omitempty"` UserID string `protobuf:"bytes,9,opt,name=userID,proto3" json:"userID,omitempty"` PasswordResetAuthnID int32 `protobuf:"varint,10,opt,name=passwordResetAuthnID,proto3" json:"passwordResetAuthnID,omitempty"` PasswordResetToken string `protobuf:"bytes,11,opt,name=passwordResetToken,proto3" json:"passwordResetToken,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) GetFirstName ¶
func (x *EmailMessage) GetFirstName() string
func (*EmailMessage) GetFrom ¶
func (x *EmailMessage) GetFrom() string
func (*EmailMessage) GetLastName ¶
func (x *EmailMessage) GetLastName() string
func (*EmailMessage) GetPasswordResetAuthnID ¶
func (x *EmailMessage) GetPasswordResetAuthnID() int32
func (*EmailMessage) GetPasswordResetToken ¶
func (x *EmailMessage) GetPasswordResetToken() string
func (*EmailMessage) GetSubject ¶
func (x *EmailMessage) GetSubject() string
func (*EmailMessage) GetTo ¶
func (x *EmailMessage) GetTo() string
func (*EmailMessage) GetUserID ¶
func (x *EmailMessage) GetUserID() string
func (*EmailMessage) GetUserName ¶
func (x *EmailMessage) GetUserName() string
func (*EmailMessage) GetVerificationAddress ¶
func (x *EmailMessage) GetVerificationAddress() 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 // reset email account email type EmailType_RESET_EMAIL EmailType = 2 // invite code email type EmailType_INVITE_CODE EmailType = 3 // system maintenance email type EmailType_SYSTEM_MAINTENANCE EmailType = 4 // promotional email type EmailType_PROMOTIONAL EmailType = 5 )
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
type Metadata ¶
type Metadata struct { TraceId uint32 `protobuf:"varint,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` SourceService string `protobuf:"bytes,2,opt,name=source_service,json=sourceService,proto3" json:"source_service,omitempty"` // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetSourceService ¶
func (*Metadata) GetTraceId ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type Tokens ¶
type Tokens struct { AccountActivationToken string `protobuf:"bytes,1,opt,name=accountActivationToken,proto3" json:"accountActivationToken,omitempty"` PasswordResetToken string `protobuf:"bytes,2,opt,name=passwordResetToken,proto3" json:"passwordResetToken,omitempty"` InviteCodeToken string `protobuf:"bytes,3,opt,name=inviteCodeToken,proto3" json:"inviteCodeToken,omitempty"` // contains filtered or unexported fields }
func (*Tokens) Descriptor
deprecated
func (*Tokens) GetAccountActivationToken ¶
func (*Tokens) GetInviteCodeToken ¶
func (*Tokens) GetPasswordResetToken ¶
func (*Tokens) ProtoMessage ¶
func (*Tokens) ProtoMessage()
func (*Tokens) ProtoReflect ¶
func (x *Tokens) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.