proto

package
v0.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetAddress

func (x *Address) GetAddress() string

func (*Address) GetName

func (x *Address) GetName() string

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

func (x *Address) ProtoReflect() protoreflect.Message

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

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"`
	ReplyTo     []*Address    `protobuf:"bytes,6,rep,name=replyTo,proto3" json:"replyTo,omitempty"`
	Text        string        `protobuf:"bytes,7,opt,name=text,proto3" json:"text,omitempty"`
	Html        string        `protobuf:"bytes,8,opt,name=html,proto3" json:"html,omitempty"`
	Attachments []*Attachment `protobuf:"bytes,9,rep,name=attachments,proto3" json:"attachments,omitempty"`
	// contains filtered or unexported fields
}

func (*Letter) Descriptor deprecated

func (*Letter) Descriptor() ([]byte, []int)

Deprecated: Use Letter.ProtoReflect.Descriptor instead.

func (*Letter) GetAttachments

func (x *Letter) GetAttachments() []*Attachment

func (*Letter) GetBcc

func (x *Letter) GetBcc() []*Address

func (*Letter) GetCc

func (x *Letter) GetCc() []*Address

func (*Letter) GetFrom

func (x *Letter) GetFrom() *Address

func (*Letter) GetHtml

func (x *Letter) GetHtml() string

func (*Letter) GetReplyTo added in v0.7.3

func (x *Letter) GetReplyTo() []*Address

func (*Letter) GetSubject

func (x *Letter) GetSubject() string

func (*Letter) GetText

func (x *Letter) GetText() string

func (*Letter) GetTo

func (x *Letter) GetTo() []*Address

func (*Letter) ProtoMessage

func (*Letter) ProtoMessage()

func (*Letter) ProtoReflect

func (x *Letter) ProtoReflect() protoreflect.Message

func (*Letter) Reset

func (x *Letter) Reset()

func (*Letter) String

func (x *Letter) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL