Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
pb/packets.proto
It has these top-level messages:
RequestSendEmail ResponseSendEmail
Index ¶
- type RequestSendEmail
- func (*RequestSendEmail) Descriptor() ([]byte, []int)
- func (m *RequestSendEmail) GetBody() string
- func (m *RequestSendEmail) GetFrom() string
- func (m *RequestSendEmail) GetTo() []string
- func (*RequestSendEmail) ProtoMessage()
- func (m *RequestSendEmail) Reset()
- func (m *RequestSendEmail) String() string
- type ResponseSendEmail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestSendEmail ¶
type RequestSendEmail struct { To []string `protobuf:"bytes,1,rep,name=to" json:"to,omitempty"` From string `protobuf:"bytes,2,opt,name=from" json:"from,omitempty"` Body string `protobuf:"bytes,3,opt,name=body" json:"body,omitempty"` }
func (*RequestSendEmail) Descriptor ¶
func (*RequestSendEmail) Descriptor() ([]byte, []int)
func (*RequestSendEmail) GetBody ¶
func (m *RequestSendEmail) GetBody() string
func (*RequestSendEmail) GetFrom ¶
func (m *RequestSendEmail) GetFrom() string
func (*RequestSendEmail) GetTo ¶
func (m *RequestSendEmail) GetTo() []string
func (*RequestSendEmail) ProtoMessage ¶
func (*RequestSendEmail) ProtoMessage()
func (*RequestSendEmail) Reset ¶
func (m *RequestSendEmail) Reset()
func (*RequestSendEmail) String ¶
func (m *RequestSendEmail) String() string
type ResponseSendEmail ¶
type ResponseSendEmail struct { Result string `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"` Error string `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"` }
func (*ResponseSendEmail) Descriptor ¶
func (*ResponseSendEmail) Descriptor() ([]byte, []int)
func (*ResponseSendEmail) GetError ¶
func (m *ResponseSendEmail) GetError() string
func (*ResponseSendEmail) GetResult ¶
func (m *ResponseSendEmail) GetResult() string
func (*ResponseSendEmail) ProtoMessage ¶
func (*ResponseSendEmail) ProtoMessage()
func (*ResponseSendEmail) Reset ¶
func (m *ResponseSendEmail) Reset()
func (*ResponseSendEmail) String ¶
func (m *ResponseSendEmail) String() string
Click to show internal directories.
Click to hide internal directories.