Versions in this module Expand all Collapse all v0 v0.1.0 Sep 29, 2020 Changes in this version + var File_testserver_proto protoreflect.FileDescriptor + func RegisterSampleService(s grpc.ServiceRegistrar, srv *SampleService) + type SampleClient interface + BidiStream func(ctx context.Context, opts ...grpc.CallOption) (Sample_BidiStreamClient, error) + ClientStream func(ctx context.Context, opts ...grpc.CallOption) (Sample_ClientStreamClient, error) + ServerStream func(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (Sample_ServerStreamClient, error) + Simple func(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (*SimpleResponse, error) + func NewSampleClient(cc grpc.ClientConnInterface) SampleClient + type SampleService struct + BidiStream func(Sample_BidiStreamServer) error + ClientStream func(Sample_ClientStreamServer) error + ServerStream func(*SimpleRequest, Sample_ServerStreamServer) error + Simple func(context.Context, *SimpleRequest) (*SimpleResponse, error) + func NewHandler() *SampleService + type Sample_BidiStreamClient interface + Recv func() (*SimpleResponse, error) + Send func(*SimpleRequest) error + type Sample_BidiStreamServer interface + Recv func() (*SimpleRequest, error) + Send func(*SimpleResponse) error + type Sample_ClientStreamClient interface + CloseAndRecv func() (*SimpleResponse, error) + Send func(*SimpleRequest) error + type Sample_ClientStreamServer interface + Recv func() (*SimpleRequest, error) + SendAndClose func(*SimpleResponse) error + type Sample_ServerStreamClient interface + Recv func() (*SimpleResponse, error) + type Sample_ServerStreamServer interface + Send func(*SimpleResponse) error + type SimpleRequest struct + Attr1 string + func (*SimpleRequest) Descriptor() ([]byte, []int) + func (*SimpleRequest) ProtoMessage() + func (x *SimpleRequest) GetAttr1() string + func (x *SimpleRequest) ProtoReflect() protoreflect.Message + func (x *SimpleRequest) Reset() + func (x *SimpleRequest) String() string + type SimpleResponse struct + Attr1 string + func (*SimpleResponse) Descriptor() ([]byte, []int) + func (*SimpleResponse) ProtoMessage() + func (x *SimpleResponse) GetAttr1() string + func (x *SimpleResponse) ProtoReflect() protoreflect.Message + func (x *SimpleResponse) Reset() + func (x *SimpleResponse) String() string