protoed

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2019 License: MIT Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	Descriptor_          string    `protobuf:"bytes,1,opt,name=descriptor" json:"descriptor,omitempty"`
	Token                string    `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"`
	Sender               *Entity   `protobuf:"bytes,3,opt,name=sender" json:"sender,omitempty"`
	Recipients           []*Entity `protobuf:"bytes,4,rep,name=recipients" json:"recipients,omitempty"`
	Cc                   []*Entity `protobuf:"bytes,5,rep,name=cc" json:"cc,omitempty"`
	Bcc                  []*Entity `protobuf:"bytes,6,rep,name=bcc" json:"bcc,omitempty"`
	Domain               string    `protobuf:"bytes,7,opt,name=domain" json:"domain,omitempty"`
	MinPeriod            float32   `protobuf:"fixed32,8,opt,name=min_period,json=minPeriod" json:"min_period,omitempty"`
	MaxSize              int32     `protobuf:"varint,9,opt,name=max_size,json=maxSize" json:"max_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

represents a messaging channel.

func (*Channel) Descriptor

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

func (*Channel) GetBcc

func (m *Channel) GetBcc() []*Entity

func (*Channel) GetCc

func (m *Channel) GetCc() []*Entity

func (*Channel) GetDescriptor_

func (m *Channel) GetDescriptor_() string

func (*Channel) GetDomain

func (m *Channel) GetDomain() string

func (*Channel) GetMaxSize

func (m *Channel) GetMaxSize() int32

func (*Channel) GetMinPeriod

func (m *Channel) GetMinPeriod() float32

func (*Channel) GetRecipients

func (m *Channel) GetRecipients() []*Entity

func (*Channel) GetSender

func (m *Channel) GetSender() *Entity

func (*Channel) GetToken

func (m *Channel) GetToken() string

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) Reset

func (m *Channel) Reset()

func (*Channel) String

func (m *Channel) String() string

func (*Channel) XXX_DiscardUnknown

func (m *Channel) XXX_DiscardUnknown()

func (*Channel) XXX_Marshal

func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Channel) XXX_Merge

func (dst *Channel) XXX_Merge(src proto.Message)

func (*Channel) XXX_Size

func (m *Channel) XXX_Size() int

func (*Channel) XXX_Unmarshal

func (m *Channel) XXX_Unmarshal(b []byte) error

type Entity

type Entity struct {
	Email                string   `protobuf:"bytes,1,opt,name=email" json:"email,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

represents a sender or recipient of an email.

func (*Entity) Descriptor

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

func (*Entity) GetEmail

func (m *Entity) GetEmail() string

func (*Entity) GetName

func (m *Entity) GetName() string

func (*Entity) ProtoMessage

func (*Entity) ProtoMessage()

func (*Entity) Reset

func (m *Entity) Reset()

func (*Entity) String

func (m *Entity) String() string

func (*Entity) XXX_DiscardUnknown

func (m *Entity) XXX_DiscardUnknown()

func (*Entity) XXX_Marshal

func (m *Entity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Entity) XXX_Merge

func (dst *Entity) XXX_Merge(src proto.Message)

func (*Entity) XXX_Size

func (m *Entity) XXX_Size() int

func (*Entity) XXX_Unmarshal

func (m *Entity) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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