Documentation ¶
Index ¶
- type Address
- func (*Address) Descriptor() ([]byte, []int)
- func (m *Address) GetAddress() string
- func (m *Address) GetName() string
- func (*Address) ProtoMessage()
- func (m *Address) Reset()
- func (m *Address) String() string
- func (m *Address) XXX_DiscardUnknown()
- func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Address) XXX_Merge(src proto.Message)
- func (m *Address) XXX_Size() int
- func (m *Address) XXX_Unmarshal(b []byte) error
- type Attachment
- func (*Attachment) Descriptor() ([]byte, []int)
- func (m *Attachment) GetContent() []byte
- func (m *Attachment) GetFilename() string
- func (m *Attachment) GetHeader() map[string]*HeaderValues
- func (*Attachment) ProtoMessage()
- func (m *Attachment) Reset()
- func (m *Attachment) String() string
- func (m *Attachment) XXX_DiscardUnknown()
- func (m *Attachment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Attachment) XXX_Merge(src proto.Message)
- func (m *Attachment) XXX_Size() int
- func (m *Attachment) XXX_Unmarshal(b []byte) error
- type HeaderValues
- func (*HeaderValues) Descriptor() ([]byte, []int)
- func (m *HeaderValues) GetValues() []string
- func (*HeaderValues) ProtoMessage()
- func (m *HeaderValues) Reset()
- func (m *HeaderValues) String() string
- func (m *HeaderValues) XXX_DiscardUnknown()
- func (m *HeaderValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HeaderValues) XXX_Merge(src proto.Message)
- func (m *HeaderValues) XXX_Size() int
- func (m *HeaderValues) XXX_Unmarshal(b []byte) error
- type Letter
- func (*Letter) Descriptor() ([]byte, []int)
- func (m *Letter) GetAttachments() []*Attachment
- func (m *Letter) GetBcc() []*Address
- func (m *Letter) GetCc() []*Address
- func (m *Letter) GetFrom() *Address
- func (m *Letter) GetHtml() string
- func (m *Letter) GetSubject() string
- func (m *Letter) GetText() string
- func (m *Letter) GetTo() []*Address
- func (*Letter) ProtoMessage()
- func (m *Letter) Reset()
- func (m *Letter) String() string
- func (m *Letter) XXX_DiscardUnknown()
- func (m *Letter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Letter) XXX_Merge(src proto.Message)
- func (m *Letter) XXX_Size() int
- func (m *Letter) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { // Name of the sender / recipient. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Email address of the sender / recipient. Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Address) Descriptor ¶
func (*Address) GetAddress ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) XXX_DiscardUnknown ¶
func (m *Address) XXX_DiscardUnknown()
func (*Address) XXX_Marshal ¶
func (*Address) XXX_Unmarshal ¶
type Attachment ¶
type Attachment struct { // Filename of the attachment. Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` // MIME header of the attachment. Header map[string]*HeaderValues `` /* 153-byte string literal not displayed */ // Contents of the attachment. Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Attachment) Descriptor ¶
func (*Attachment) Descriptor() ([]byte, []int)
func (*Attachment) GetContent ¶
func (m *Attachment) GetContent() []byte
func (*Attachment) GetFilename ¶
func (m *Attachment) GetFilename() string
func (*Attachment) GetHeader ¶
func (m *Attachment) GetHeader() map[string]*HeaderValues
func (*Attachment) ProtoMessage ¶
func (*Attachment) ProtoMessage()
func (*Attachment) Reset ¶
func (m *Attachment) Reset()
func (*Attachment) String ¶
func (m *Attachment) String() string
func (*Attachment) XXX_DiscardUnknown ¶
func (m *Attachment) XXX_DiscardUnknown()
func (*Attachment) XXX_Marshal ¶
func (m *Attachment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Attachment) XXX_Merge ¶
func (m *Attachment) XXX_Merge(src proto.Message)
func (*Attachment) XXX_Size ¶
func (m *Attachment) XXX_Size() int
func (*Attachment) XXX_Unmarshal ¶
func (m *Attachment) XXX_Unmarshal(b []byte) error
type HeaderValues ¶
type HeaderValues struct { // The header values. Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HeaderValues) Descriptor ¶
func (*HeaderValues) Descriptor() ([]byte, []int)
func (*HeaderValues) GetValues ¶
func (m *HeaderValues) GetValues() []string
func (*HeaderValues) ProtoMessage ¶
func (*HeaderValues) ProtoMessage()
func (*HeaderValues) Reset ¶
func (m *HeaderValues) Reset()
func (*HeaderValues) String ¶
func (m *HeaderValues) String() string
func (*HeaderValues) XXX_DiscardUnknown ¶
func (m *HeaderValues) XXX_DiscardUnknown()
func (*HeaderValues) XXX_Marshal ¶
func (m *HeaderValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HeaderValues) XXX_Merge ¶
func (m *HeaderValues) XXX_Merge(src proto.Message)
func (*HeaderValues) XXX_Size ¶
func (m *HeaderValues) XXX_Size() int
func (*HeaderValues) XXX_Unmarshal ¶
func (m *HeaderValues) XXX_Unmarshal(b []byte) error
type Letter ¶
type Letter struct { // Email subject. Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` // Email sender. From *Address `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` // "To" recipients. To []*Address `protobuf:"bytes,3,rep,name=to,proto3" json:"to,omitempty"` // "Cc" recipients. Cc []*Address `protobuf:"bytes,4,rep,name=cc,proto3" json:"cc,omitempty"` // "Bcc" recipients. Bcc []*Address `protobuf:"bytes,5,rep,name=bcc,proto3" json:"bcc,omitempty"` // Email body in text format. Text string `protobuf:"bytes,6,opt,name=text,proto3" json:"text,omitempty"` // Email body in HTML format. Html string `protobuf:"bytes,7,opt,name=html,proto3" json:"html,omitempty"` // Email attachments. Attachments []*Attachment `protobuf:"bytes,8,rep,name=attachments,proto3" json:"attachments,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Letter) Descriptor ¶
func (*Letter) GetAttachments ¶
func (m *Letter) GetAttachments() []*Attachment
func (*Letter) GetSubject ¶
func (*Letter) ProtoMessage ¶
func (*Letter) ProtoMessage()
func (*Letter) XXX_DiscardUnknown ¶
func (m *Letter) XXX_DiscardUnknown()
func (*Letter) XXX_Marshal ¶
func (*Letter) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.