Documentation ¶
Index ¶
- Variables
- type EmailContract
- func (*EmailContract) Descriptor() ([]byte, []int)
- func (m *EmailContract) GetFirstname() string
- func (m *EmailContract) GetLastname() string
- func (m *EmailContract) GetMessage() string
- func (m *EmailContract) GetMetadata() *Metadata
- func (m *EmailContract) GetSender() string
- func (m *EmailContract) GetSubject() string
- func (m *EmailContract) GetTarget() string
- func (m *EmailContract) GetToken() *Tokens
- func (m *EmailContract) GetType() EmailType
- func (*EmailContract) ProtoMessage()
- func (m *EmailContract) Reset()
- func (m *EmailContract) String() string
- func (m *EmailContract) XXX_DiscardUnknown()
- func (m *EmailContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EmailContract) XXX_Merge(src proto.Message)
- func (m *EmailContract) XXX_Size() int
- func (m *EmailContract) XXX_Unmarshal(b []byte) error
- type EmailType
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (m *Metadata) GetSourceService() string
- func (m *Metadata) GetTraceId() uint32
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) String() string
- func (m *Metadata) XXX_DiscardUnknown()
- func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metadata) XXX_Merge(src proto.Message)
- func (m *Metadata) XXX_Size() int
- func (m *Metadata) XXX_Unmarshal(b []byte) error
- type Tokens
- func (*Tokens) Descriptor() ([]byte, []int)
- func (m *Tokens) GetAccountActivationToken() string
- func (m *Tokens) GetInviteCodeToken() string
- func (m *Tokens) GetPasswordResetToken() string
- func (*Tokens) ProtoMessage()
- func (m *Tokens) Reset()
- func (m *Tokens) String() string
- func (m *Tokens) XXX_DiscardUnknown()
- func (m *Tokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tokens) XXX_Merge(src proto.Message)
- func (m *Tokens) XXX_Size() int
- func (m *Tokens) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var EmailType_name = map[int32]string{
0: "welcome",
1: "reset_password",
2: "reset_email",
3: "invite_code",
4: "system_maintenance",
5: "promotional",
}
View Source
var EmailType_value = map[string]int32{
"welcome": 0,
"reset_password": 1,
"reset_email": 2,
"invite_code": 3,
"system_maintenance": 4,
"promotional": 5,
}
Functions ¶
This section is empty.
Types ¶
type EmailContract ¶
type EmailContract struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,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"` Type EmailType `protobuf:"varint,5,opt,name=type,proto3,enum=EmailType" json:"type,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"` Metadata *Metadata `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` Token *Tokens `protobuf:"bytes,9,opt,name=token,proto3" json:"token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EmailContract) Descriptor ¶
func (*EmailContract) Descriptor() ([]byte, []int)
func (*EmailContract) GetFirstname ¶
func (m *EmailContract) GetFirstname() string
func (*EmailContract) GetLastname ¶
func (m *EmailContract) GetLastname() string
func (*EmailContract) GetMessage ¶
func (m *EmailContract) GetMessage() string
func (*EmailContract) GetMetadata ¶
func (m *EmailContract) GetMetadata() *Metadata
func (*EmailContract) GetSender ¶
func (m *EmailContract) GetSender() string
func (*EmailContract) GetSubject ¶
func (m *EmailContract) GetSubject() string
func (*EmailContract) GetTarget ¶
func (m *EmailContract) GetTarget() string
func (*EmailContract) GetToken ¶
func (m *EmailContract) GetToken() *Tokens
func (*EmailContract) GetType ¶
func (m *EmailContract) GetType() EmailType
func (*EmailContract) ProtoMessage ¶
func (*EmailContract) ProtoMessage()
func (*EmailContract) Reset ¶
func (m *EmailContract) Reset()
func (*EmailContract) String ¶
func (m *EmailContract) String() string
func (*EmailContract) XXX_DiscardUnknown ¶
func (m *EmailContract) XXX_DiscardUnknown()
func (*EmailContract) XXX_Marshal ¶
func (m *EmailContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EmailContract) XXX_Merge ¶
func (m *EmailContract) XXX_Merge(src proto.Message)
func (*EmailContract) XXX_Size ¶
func (m *EmailContract) XXX_Size() int
func (*EmailContract) XXX_Unmarshal ¶
func (m *EmailContract) XXX_Unmarshal(b []byte) error
type EmailType ¶
type EmailType int32
const ( // welcome email type EmailType_welcome EmailType = 0 // reset password email type EmailType_reset_password 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) EnumDescriptor ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Metadata) Descriptor ¶
func (*Metadata) GetSourceService ¶
func (*Metadata) GetTraceId ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) XXX_DiscardUnknown ¶
func (m *Metadata) XXX_DiscardUnknown()
func (*Metadata) XXX_Marshal ¶
func (*Metadata) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Tokens) Descriptor ¶
func (*Tokens) GetAccountActivationToken ¶
func (*Tokens) GetInviteCodeToken ¶
func (*Tokens) GetPasswordResetToken ¶
func (*Tokens) ProtoMessage ¶
func (*Tokens) ProtoMessage()
func (*Tokens) XXX_DiscardUnknown ¶
func (m *Tokens) XXX_DiscardUnknown()
func (*Tokens) XXX_Marshal ¶
func (*Tokens) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.