Documentation
¶
Index ¶
- Variables
- type Address
- type Attachment
- func (*Attachment) Descriptor() ([]byte, []int)deprecated
- func (x *Attachment) GetContent() []byte
- func (x *Attachment) GetFilename() string
- func (x *Attachment) GetHeader() map[string]*HeaderValues
- func (*Attachment) ProtoMessage()
- func (x *Attachment) ProtoReflect() protoreflect.Message
- func (x *Attachment) Reset()
- func (x *Attachment) String() string
- type HeaderValues
- type Letter
- func (*Letter) Descriptor() ([]byte, []int)deprecated
- func (x *Letter) GetAttachments() []*Attachment
- func (x *Letter) GetBcc() []*Address
- func (x *Letter) GetCc() []*Address
- func (x *Letter) GetFrom() *Address
- func (x *Letter) GetHtml() string
- func (x *Letter) GetSubject() string
- func (x *Letter) GetText() string
- func (x *Letter) GetTo() []*Address
- func (*Letter) ProtoMessage()
- func (x *Letter) ProtoReflect() protoreflect.Message
- func (x *Letter) Reset()
- func (x *Letter) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_letter_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
// contains filtered or unexported fields
}
func (*Address) Descriptor
deprecated
func (*Address) GetAddress ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶
func (x *Address) ProtoReflect() protoreflect.Message
type Attachment ¶
type Attachment struct {
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
Header map[string]*HeaderValues `` /* 153-byte string literal not displayed */
Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
// contains filtered or unexported fields
}
func (*Attachment) Descriptor
deprecated
func (*Attachment) Descriptor() ([]byte, []int)
Deprecated: Use Attachment.ProtoReflect.Descriptor instead.
func (*Attachment) GetContent ¶
func (x *Attachment) GetContent() []byte
func (*Attachment) GetFilename ¶
func (x *Attachment) GetFilename() string
func (*Attachment) GetHeader ¶
func (x *Attachment) GetHeader() map[string]*HeaderValues
func (*Attachment) ProtoMessage ¶
func (*Attachment) ProtoMessage()
func (*Attachment) ProtoReflect ¶
func (x *Attachment) ProtoReflect() protoreflect.Message
func (*Attachment) Reset ¶
func (x *Attachment) Reset()
func (*Attachment) String ¶
func (x *Attachment) String() string
type HeaderValues ¶
type HeaderValues struct {
Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
func (*HeaderValues) Descriptor
deprecated
func (*HeaderValues) Descriptor() ([]byte, []int)
Deprecated: Use HeaderValues.ProtoReflect.Descriptor instead.
func (*HeaderValues) GetValues ¶
func (x *HeaderValues) GetValues() []string
func (*HeaderValues) ProtoMessage ¶
func (*HeaderValues) ProtoMessage()
func (*HeaderValues) ProtoReflect ¶
func (x *HeaderValues) ProtoReflect() protoreflect.Message
func (*HeaderValues) Reset ¶
func (x *HeaderValues) Reset()
func (*HeaderValues) String ¶
func (x *HeaderValues) String() string
type Letter ¶
type Letter struct {
Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
From *Address `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
To []*Address `protobuf:"bytes,3,rep,name=to,proto3" json:"to,omitempty"`
Cc []*Address `protobuf:"bytes,4,rep,name=cc,proto3" json:"cc,omitempty"`
Bcc []*Address `protobuf:"bytes,5,rep,name=bcc,proto3" json:"bcc,omitempty"`
Text string `protobuf:"bytes,6,opt,name=text,proto3" json:"text,omitempty"`
Html string `protobuf:"bytes,7,opt,name=html,proto3" json:"html,omitempty"`
Attachments []*Attachment `protobuf:"bytes,8,rep,name=attachments,proto3" json:"attachments,omitempty"`
// contains filtered or unexported fields
}
func (*Letter) Descriptor
deprecated
func (*Letter) GetAttachments ¶
func (x *Letter) GetAttachments() []*Attachment
func (*Letter) GetSubject ¶
func (*Letter) ProtoMessage ¶
func (*Letter) ProtoMessage()
func (*Letter) ProtoReflect ¶
func (x *Letter) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.