payload

package
v0.0.0-...-11b9a83 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2018 License: MIT Imports: 3 Imported by: 0

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

View Source
var Expression_Operation_name = map[int32]string{
	0: "ADD",
	1: "SUB",
	2: "MUL",
	3: "DIV",
}
View Source
var Expression_Operation_value = map[string]int32{
	"ADD": 0,
	"SUB": 1,
	"MUL": 2,
	"DIV": 3,
}

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"`
}

func (*Email) Descriptor

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

func (*Email) GetBody

func (m *Email) GetBody() string

func (*Email) GetFrom

func (m *Email) GetFrom() string

func (*Email) GetSubject

func (m *Email) GetSubject() string

func (*Email) GetTo

func (m *Email) GetTo() string

func (*Email) ProtoMessage

func (*Email) ProtoMessage()

func (*Email) Reset

func (m *Email) Reset()

func (*Email) String

func (m *Email) String() string

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

Jump to

Keyboard shortcuts

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