Documentation
¶
Overview ¶
Package bench is a generated protocol buffer package.
It is generated from these files:
combos/neither/bench.proto
It has these top-level messages:
Request Small Medium Big
Index ¶
- func RegisterBencherServer(s *grpc.Server, srv BencherServer)
- type BencherClient
- type BencherServer
- type Bencher_BigStreamClient
- type Bencher_BigStreamServer
- type Bencher_MediumStreamClient
- type Bencher_MediumStreamServer
- type Bencher_SmallStreamClient
- type Bencher_SmallStreamServer
- type Big
- func (*Big) Descriptor() ([]byte, []int)
- func (this *Big) Equal(that interface{}) bool
- func (m *Big) GetField3() *Medium
- func (m *Big) GetField4() []*Small
- func (m *Big) GetField8() *Medium
- func (this *Big) GoString() string
- func (*Big) ProtoMessage()
- func (m *Big) Reset()
- func (m *Big) Size() (n int)
- func (m *Big) String() string
- func (this *Big) VerboseEqual(that interface{}) error
- type Medium
- func (*Medium) Descriptor() ([]byte, []int)
- func (this *Medium) Equal(that interface{}) bool
- func (this *Medium) GoString() string
- func (*Medium) ProtoMessage()
- func (m *Medium) Reset()
- func (m *Medium) Size() (n int)
- func (m *Medium) String() string
- func (this *Medium) VerboseEqual(that interface{}) error
- type Request
- func (*Request) Descriptor() ([]byte, []int)
- func (this *Request) Equal(that interface{}) bool
- func (this *Request) GoString() string
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) Size() (n int)
- func (m *Request) String() string
- func (this *Request) VerboseEqual(that interface{}) error
- type Small
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBencherServer ¶
func RegisterBencherServer(s *grpc.Server, srv BencherServer)
Types ¶
type BencherClient ¶
type BencherClient interface { BigStream(ctx context.Context, in *Request, opts ...grpc.CallOption) (Bencher_BigStreamClient, error) MediumStream(ctx context.Context, in *Request, opts ...grpc.CallOption) (Bencher_MediumStreamClient, error) SmallStream(ctx context.Context, in *Request, opts ...grpc.CallOption) (Bencher_SmallStreamClient, error) }
func NewBencherClient ¶
func NewBencherClient(cc *grpc.ClientConn) BencherClient
type BencherServer ¶
type BencherServer interface { BigStream(*Request, Bencher_BigStreamServer) error MediumStream(*Request, Bencher_MediumStreamServer) error SmallStream(*Request, Bencher_SmallStreamServer) error }
type Bencher_BigStreamClient ¶
type Bencher_BigStreamClient interface { Recv() (*Big, error) grpc.ClientStream }
type Bencher_BigStreamServer ¶
type Bencher_BigStreamServer interface { Send(*Big) error grpc.ServerStream }
type Bencher_MediumStreamClient ¶
type Bencher_MediumStreamClient interface { Recv() (*Medium, error) grpc.ClientStream }
type Bencher_MediumStreamServer ¶
type Bencher_MediumStreamServer interface { Send(*Medium) error grpc.ServerStream }
type Bencher_SmallStreamClient ¶
type Bencher_SmallStreamClient interface { Recv() (*Small, error) grpc.ClientStream }
type Bencher_SmallStreamServer ¶
type Bencher_SmallStreamServer interface { Send(*Small) error grpc.ServerStream }
type Big ¶
type Big struct { Field1 float64 `protobuf:"fixed64,1,opt,name=Field1,json=field1,proto3" json:"Field1,omitempty"` Field2 float32 `protobuf:"fixed32,2,opt,name=Field2,json=field2,proto3" json:"Field2,omitempty"` Field3 *Medium `protobuf:"bytes,3,opt,name=Field3,json=field3" json:"Field3,omitempty"` Field4 []*Small `protobuf:"bytes,4,rep,name=Field4,json=field4" json:"Field4,omitempty"` Field6 uint64 `protobuf:"varint,6,opt,name=Field6,json=field6,proto3" json:"Field6,omitempty"` Field7 int32 `protobuf:"zigzag32,7,opt,name=Field7,json=field7,proto3" json:"Field7,omitempty"` Field8 *Medium `protobuf:"bytes,8,opt,name=Field8,json=field8" json:"Field8,omitempty"` Field13 bool `protobuf:"varint,13,opt,name=Field13,json=field13,proto3" json:"Field13,omitempty"` Field14 string `protobuf:"bytes,14,opt,name=Field14,json=field14,proto3" json:"Field14,omitempty"` Field15 []byte `protobuf:"bytes,15,opt,name=Field15,json=field15,proto3" json:"Field15,omitempty"` }
func NewPopulatedBig ¶
func (*Big) Descriptor ¶
func (*Big) ProtoMessage ¶
func (*Big) ProtoMessage()
func (*Big) VerboseEqual ¶
type Medium ¶
type Medium struct { Field1 float64 `protobuf:"fixed64,1,opt,name=Field1,json=field1,proto3" json:"Field1,omitempty"` Field2 float32 `protobuf:"fixed32,2,opt,name=Field2,json=field2,proto3" json:"Field2,omitempty"` Field3 int32 `protobuf:"varint,3,opt,name=Field3,json=field3,proto3" json:"Field3,omitempty"` Field4 int64 `protobuf:"varint,4,opt,name=Field4,json=field4,proto3" json:"Field4,omitempty"` Field5 uint32 `protobuf:"varint,5,opt,name=Field5,json=field5,proto3" json:"Field5,omitempty"` Field6 uint64 `protobuf:"varint,6,opt,name=Field6,json=field6,proto3" json:"Field6,omitempty"` Field7 int32 `protobuf:"zigzag32,7,opt,name=Field7,json=field7,proto3" json:"Field7,omitempty"` Field8 int64 `protobuf:"zigzag64,8,opt,name=Field8,json=field8,proto3" json:"Field8,omitempty"` Field9 uint32 `protobuf:"fixed32,9,opt,name=Field9,json=field9,proto3" json:"Field9,omitempty"` Field10 int32 `protobuf:"fixed32,10,opt,name=Field10,json=field10,proto3" json:"Field10,omitempty"` Field11 uint64 `protobuf:"fixed64,11,opt,name=Field11,json=field11,proto3" json:"Field11,omitempty"` Field12 int64 `protobuf:"fixed64,12,opt,name=Field12,json=field12,proto3" json:"Field12,omitempty"` Field13 bool `protobuf:"varint,13,opt,name=Field13,json=field13,proto3" json:"Field13,omitempty"` Field14 string `protobuf:"bytes,14,opt,name=Field14,json=field14,proto3" json:"Field14,omitempty"` Field15 []byte `protobuf:"bytes,15,opt,name=Field15,json=field15,proto3" json:"Field15,omitempty"` }
func NewPopulatedMedium ¶
func (*Medium) Descriptor ¶
func (*Medium) ProtoMessage ¶
func (*Medium) ProtoMessage()
func (*Medium) VerboseEqual ¶
type Request ¶
type Request struct {
Num int64 `protobuf:"varint,1,opt,name=Num,json=num,proto3" json:"Num,omitempty"`
}
func NewPopulatedRequest ¶
func (*Request) Descriptor ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) VerboseEqual ¶
type Small ¶
type Small struct { Field3 int32 `protobuf:"varint,3,opt,name=Field3,json=field3,proto3" json:"Field3,omitempty"` Field11 uint64 `protobuf:"fixed64,11,opt,name=Field11,json=field11,proto3" json:"Field11,omitempty"` Field14 string `protobuf:"bytes,14,opt,name=Field14,json=field14,proto3" json:"Field14,omitempty"` }
func NewPopulatedSmall ¶
func (*Small) Descriptor ¶
func (*Small) ProtoMessage ¶
func (*Small) ProtoMessage()
func (*Small) VerboseEqual ¶
Click to show internal directories.
Click to hide internal directories.