proto

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package grpc is a generated protocol buffer package.

It is generated from these files:

hello.proto

It has these top-level messages:

BenchmarkMessage

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthHello = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHello   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterHelloServer

func RegisterHelloServer(s *grpc1.Server, srv HelloServer)

Types

type BenchmarkMessage

type BenchmarkMessage struct {
	Field1   string `protobuf:"bytes,1,opt,name=field1,proto3" json:"field1,omitempty"`
	Field9   string `protobuf:"bytes,9,opt,name=field9,proto3" json:"field9,omitempty"`
	Field18  string `protobuf:"bytes,18,opt,name=field18,proto3" json:"field18,omitempty"`
	Field80  bool   `protobuf:"varint,80,opt,name=field80,proto3" json:"field80,omitempty"`
	Field81  bool   `protobuf:"varint,81,opt,name=field81,proto3" json:"field81,omitempty"`
	Field2   int32  `protobuf:"varint,2,opt,name=field2,proto3" json:"field2,omitempty"`
	Field3   int32  `protobuf:"varint,3,opt,name=field3,proto3" json:"field3,omitempty"`
	Field280 int32  `protobuf:"varint,280,opt,name=field280,proto3" json:"field280,omitempty"`
	Field6   int32  `protobuf:"varint,6,opt,name=field6,proto3" json:"field6,omitempty"`
	Field22  int64  `protobuf:"varint,22,opt,name=field22,proto3" json:"field22,omitempty"`
	Field4   string `protobuf:"bytes,4,opt,name=field4,proto3" json:"field4,omitempty"`
	Field5   uint64 `protobuf:"fixed64,5,opt,name=field5,proto3" json:"field5,omitempty"`
	Field59  bool   `protobuf:"varint,59,opt,name=field59,proto3" json:"field59,omitempty"`
	Field7   string `protobuf:"bytes,7,opt,name=field7,proto3" json:"field7,omitempty"`
	Field16  int32  `protobuf:"varint,16,opt,name=field16,proto3" json:"field16,omitempty"`
	Field130 int32  `protobuf:"varint,130,opt,name=field130,proto3" json:"field130,omitempty"`
	Field12  bool   `protobuf:"varint,12,opt,name=field12,proto3" json:"field12,omitempty"`
	Field17  bool   `protobuf:"varint,17,opt,name=field17,proto3" json:"field17,omitempty"`
	Field13  bool   `protobuf:"varint,13,opt,name=field13,proto3" json:"field13,omitempty"`
	Field14  bool   `protobuf:"varint,14,opt,name=field14,proto3" json:"field14,omitempty"`
	Field104 int32  `protobuf:"varint,104,opt,name=field104,proto3" json:"field104,omitempty"`
	Field100 int32  `protobuf:"varint,100,opt,name=field100,proto3" json:"field100,omitempty"`
	Field101 int32  `protobuf:"varint,101,opt,name=field101,proto3" json:"field101,omitempty"`
	Field102 string `protobuf:"bytes,102,opt,name=field102,proto3" json:"field102,omitempty"`
	Field103 string `protobuf:"bytes,103,opt,name=field103,proto3" json:"field103,omitempty"`
	Field29  int32  `protobuf:"varint,29,opt,name=field29,proto3" json:"field29,omitempty"`
	Field30  bool   `protobuf:"varint,30,opt,name=field30,proto3" json:"field30,omitempty"`
	Field60  int32  `protobuf:"varint,60,opt,name=field60,proto3" json:"field60,omitempty"`
	Field271 int32  `protobuf:"varint,271,opt,name=field271,proto3" json:"field271,omitempty"`
	Field272 int32  `protobuf:"varint,272,opt,name=field272,proto3" json:"field272,omitempty"`
	Field150 int32  `protobuf:"varint,150,opt,name=field150,proto3" json:"field150,omitempty"`
	Field23  int32  `protobuf:"varint,23,opt,name=field23,proto3" json:"field23,omitempty"`
	Field24  bool   `protobuf:"varint,24,opt,name=field24,proto3" json:"field24,omitempty"`
	Field25  int32  `protobuf:"varint,25,opt,name=field25,proto3" json:"field25,omitempty"`
	Field78  bool   `protobuf:"varint,78,opt,name=field78,proto3" json:"field78,omitempty"`
	Field67  int32  `protobuf:"varint,67,opt,name=field67,proto3" json:"field67,omitempty"`
	Field68  int32  `protobuf:"varint,68,opt,name=field68,proto3" json:"field68,omitempty"`
	Field128 int32  `protobuf:"varint,128,opt,name=field128,proto3" json:"field128,omitempty"`
	Field129 string `protobuf:"bytes,129,opt,name=field129,proto3" json:"field129,omitempty"`
	Field131 int32  `protobuf:"varint,131,opt,name=field131,proto3" json:"field131,omitempty"`
}

func (*BenchmarkMessage) Descriptor

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

func (*BenchmarkMessage) Marshal

func (m *BenchmarkMessage) Marshal() (dAtA []byte, err error)

func (*BenchmarkMessage) MarshalTo

func (m *BenchmarkMessage) MarshalTo(dAtA []byte) (int, error)

func (*BenchmarkMessage) ProtoMessage

func (*BenchmarkMessage) ProtoMessage()

func (*BenchmarkMessage) Reset

func (m *BenchmarkMessage) Reset()

func (*BenchmarkMessage) Size

func (m *BenchmarkMessage) Size() (n int)

func (*BenchmarkMessage) String

func (m *BenchmarkMessage) String() string

func (*BenchmarkMessage) Unmarshal

func (m *BenchmarkMessage) Unmarshal(dAtA []byte) error

type HelloClient

type HelloClient interface {
	// Sends a greeting
	Say(ctx context.Context, in *BenchmarkMessage, opts ...grpc1.CallOption) (*BenchmarkMessage, error)
}

func NewHelloClient

func NewHelloClient(cc *grpc1.ClientConn) HelloClient

type HelloServer

type HelloServer interface {
	// Sends a greeting
	Say(context.Context, *BenchmarkMessage) (*BenchmarkMessage, error)
}

Jump to

Keyboard shortcuts

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