pb3

package
v0.0.0-...-eedcae6 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package bar is a generated protocol buffer package.

It is generated from these files:

bar.proto

It has these top-level messages:

TestRep

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBarServer

func RegisterBarServer(s *grpc.Server, srv BarServer)

Types

type BarClient

type BarClient interface {
	Test(ctx context.Context, in *TestRep, opts ...grpc.CallOption) (*TestRep, error)
}

func NewBarClient

func NewBarClient(cc *grpc.ClientConn) BarClient

type BarServer

type BarServer interface {
	Test(context.Context, *TestRep) (*TestRep, error)
}

type TestRep

type TestRep struct {
	Id   string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
}

func (*TestRep) ProtoMessage

func (*TestRep) ProtoMessage()

func (*TestRep) Reset

func (m *TestRep) Reset()

func (*TestRep) String

func (m *TestRep) String() string

Jump to

Keyboard shortcuts

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