Documentation ¶
Overview ¶
Package payload is a generated protocol buffer package.
It is generated from these files:
payload.proto
It has these top-level messages:
Email Expression
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Email ¶
type Email struct { From string `protobuf:"bytes,1,opt,name=from" json:"from,omitempty"` To string `protobuf:"bytes,2,opt,name=to" json:"to,omitempty"` Subject string `protobuf:"bytes,3,opt,name=subject" json:"subject,omitempty"` Body string `protobuf:"bytes,4,opt,name=body" json:"body,omitempty"` }
type Expression ¶
type Expression struct { Operand1 int64 `protobuf:"varint,1,opt,name=operand1" json:"operand1,omitempty"` Operand2 int64 `protobuf:"varint,2,opt,name=operand2" json:"operand2,omitempty"` Operation Expression_Operation `protobuf:"varint,3,opt,name=operation,enum=payload.Expression_Operation" json:"operation,omitempty"` }
func (*Expression) Descriptor ¶
func (*Expression) Descriptor() ([]byte, []int)
func (*Expression) GetOperand1 ¶
func (m *Expression) GetOperand1() int64
func (*Expression) GetOperand2 ¶
func (m *Expression) GetOperand2() int64
func (*Expression) GetOperation ¶
func (m *Expression) GetOperation() Expression_Operation
func (*Expression) ProtoMessage ¶
func (*Expression) ProtoMessage()
func (*Expression) Reset ¶
func (m *Expression) Reset()
func (*Expression) String ¶
func (m *Expression) String() string
type Expression_Operation ¶
type Expression_Operation int32
const ( Expression_ADD Expression_Operation = 0 Expression_SUB Expression_Operation = 1 Expression_MUL Expression_Operation = 2 Expression_DIV Expression_Operation = 3 )
func (Expression_Operation) EnumDescriptor ¶
func (Expression_Operation) EnumDescriptor() ([]byte, []int)
func (Expression_Operation) String ¶
func (x Expression_Operation) String() string
Click to show internal directories.
Click to hide internal directories.