message

package
v0.0.0-...-d023741 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2018 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package message is a generated protocol buffer package.

It is generated from these files:

arith.proto
echo.proto

It has these top-level messages:

ArithRequest
ArithResponse
EchoRequest
EchoResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArithRequest

type ArithRequest struct {
	A int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"`
	B int32 `protobuf:"varint,2,opt,name=b" json:"b,omitempty"`
}

func (*ArithRequest) ProtoMessage

func (*ArithRequest) ProtoMessage()

func (*ArithRequest) Reset

func (m *ArithRequest) Reset()

func (*ArithRequest) String

func (m *ArithRequest) String() string

type ArithResponse

type ArithResponse struct {
	C int32 `protobuf:"varint,1,opt,name=c" json:"c,omitempty"`
}

func (*ArithResponse) ProtoMessage

func (*ArithResponse) ProtoMessage()

func (*ArithResponse) Reset

func (m *ArithResponse) Reset()

func (*ArithResponse) String

func (m *ArithResponse) String() string

type EchoRequest

type EchoRequest struct {
	Msg string `protobuf:"bytes,1,opt,name=msg" json:"msg,omitempty"`
}

func (*EchoRequest) ProtoMessage

func (*EchoRequest) ProtoMessage()

func (*EchoRequest) Reset

func (m *EchoRequest) Reset()

func (*EchoRequest) String

func (m *EchoRequest) String() string

type EchoResponse

type EchoResponse struct {
	Msg string `protobuf:"bytes,1,opt,name=msg" json:"msg,omitempty"`
}

func (*EchoResponse) ProtoMessage

func (*EchoResponse) ProtoMessage()

func (*EchoResponse) Reset

func (m *EchoResponse) Reset()

func (*EchoResponse) String

func (m *EchoResponse) String() string

Jump to

Keyboard shortcuts

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