Documentation ¶
Index ¶
- Variables
- func RegisterAdvancedGrpcServer(s *grpc.Server, srv AdvancedGrpcServer)
- type AdvancedGrpcClient
- type AdvancedGrpcServer
- type GetStuffRequest
- func (*GetStuffRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetStuffRequest) GetInnerStuff() string
- func (x *GetStuffRequest) GetSensitiveStuff() string
- func (x *GetStuffRequest) GetTimeStuff() string
- func (*GetStuffRequest) ProtoMessage()
- func (x *GetStuffRequest) ProtoReflect() protoreflect.Message
- func (x *GetStuffRequest) Reset()
- func (x *GetStuffRequest) String() string
- type GetStuffResponse
- type GetStuffTooRequest
- func (*GetStuffTooRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetStuffTooRequest) GetInnerStuff() string
- func (x *GetStuffTooRequest) GetSensitiveStuff() string
- func (x *GetStuffTooRequest) GetTimeStuff() string
- func (*GetStuffTooRequest) ProtoMessage()
- func (x *GetStuffTooRequest) ProtoReflect() protoreflect.Message
- func (x *GetStuffTooRequest) Reset()
- func (x *GetStuffTooRequest) String() string
- type GetStuffTooResponse
- func (*GetStuffTooResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStuffTooResponse) GetData() []*Item
- func (*GetStuffTooResponse) ProtoMessage()
- func (x *GetStuffTooResponse) ProtoReflect() protoreflect.Message
- func (x *GetStuffTooResponse) Reset()
- func (x *GetStuffTooResponse) String() string
- type Item
- type UnimplementedAdvancedGrpcServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_advancedgrpc_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAdvancedGrpcServer ¶
func RegisterAdvancedGrpcServer(s *grpc.Server, srv AdvancedGrpcServer)
Types ¶
type AdvancedGrpcClient ¶
type AdvancedGrpcClient interface { GetStuff(ctx context.Context, in *GetStuffRequest, opts ...grpc.CallOption) (*GetStuffResponse, error) GetStuffToo(ctx context.Context, in *GetStuffRequest, opts ...grpc.CallOption) (*GetStuffResponse, error) }
AdvancedGrpcClient is the client API for AdvancedGrpc service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAdvancedGrpcClient ¶
func NewAdvancedGrpcClient(cc grpc.ClientConnInterface) AdvancedGrpcClient
type AdvancedGrpcServer ¶
type AdvancedGrpcServer interface { GetStuff(context.Context, *GetStuffRequest) (*GetStuffResponse, error) GetStuffToo(context.Context, *GetStuffRequest) (*GetStuffResponse, error) }
AdvancedGrpcServer is the server API for AdvancedGrpc service.
type GetStuffRequest ¶
type GetStuffRequest struct { InnerStuff string `protobuf:"bytes,1,opt,name=innerStuff,proto3" json:"innerStuff,omitempty"` SensitiveStuff string `protobuf:"bytes,2,opt,name=sensitiveStuff,proto3" json:"sensitiveStuff,omitempty"` TimeStuff string `protobuf:"bytes,3,opt,name=timeStuff,proto3" json:"timeStuff,omitempty"` // contains filtered or unexported fields }
func (*GetStuffRequest) Descriptor
deprecated
func (*GetStuffRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStuffRequest.ProtoReflect.Descriptor instead.
func (*GetStuffRequest) GetInnerStuff ¶
func (x *GetStuffRequest) GetInnerStuff() string
func (*GetStuffRequest) GetSensitiveStuff ¶
func (x *GetStuffRequest) GetSensitiveStuff() string
func (*GetStuffRequest) GetTimeStuff ¶
func (x *GetStuffRequest) GetTimeStuff() string
func (*GetStuffRequest) ProtoMessage ¶
func (*GetStuffRequest) ProtoMessage()
func (*GetStuffRequest) ProtoReflect ¶
func (x *GetStuffRequest) ProtoReflect() protoreflect.Message
func (*GetStuffRequest) Reset ¶
func (x *GetStuffRequest) Reset()
func (*GetStuffRequest) String ¶
func (x *GetStuffRequest) String() string
type GetStuffResponse ¶
type GetStuffResponse struct { Data []*Item `protobuf:"bytes,1,rep,name=Data,proto3" json:"Data,omitempty"` // contains filtered or unexported fields }
func (*GetStuffResponse) Descriptor
deprecated
func (*GetStuffResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStuffResponse.ProtoReflect.Descriptor instead.
func (*GetStuffResponse) GetData ¶
func (x *GetStuffResponse) GetData() []*Item
func (*GetStuffResponse) ProtoMessage ¶
func (*GetStuffResponse) ProtoMessage()
func (*GetStuffResponse) ProtoReflect ¶
func (x *GetStuffResponse) ProtoReflect() protoreflect.Message
func (*GetStuffResponse) Reset ¶
func (x *GetStuffResponse) Reset()
func (*GetStuffResponse) String ¶
func (x *GetStuffResponse) String() string
type GetStuffTooRequest ¶
type GetStuffTooRequest struct { InnerStuff string `protobuf:"bytes,1,opt,name=innerStuff,proto3" json:"innerStuff,omitempty"` SensitiveStuff string `protobuf:"bytes,2,opt,name=sensitiveStuff,proto3" json:"sensitiveStuff,omitempty"` TimeStuff string `protobuf:"bytes,3,opt,name=timeStuff,proto3" json:"timeStuff,omitempty"` // contains filtered or unexported fields }
func (*GetStuffTooRequest) Descriptor
deprecated
func (*GetStuffTooRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStuffTooRequest.ProtoReflect.Descriptor instead.
func (*GetStuffTooRequest) GetInnerStuff ¶
func (x *GetStuffTooRequest) GetInnerStuff() string
func (*GetStuffTooRequest) GetSensitiveStuff ¶
func (x *GetStuffTooRequest) GetSensitiveStuff() string
func (*GetStuffTooRequest) GetTimeStuff ¶
func (x *GetStuffTooRequest) GetTimeStuff() string
func (*GetStuffTooRequest) ProtoMessage ¶
func (*GetStuffTooRequest) ProtoMessage()
func (*GetStuffTooRequest) ProtoReflect ¶
func (x *GetStuffTooRequest) ProtoReflect() protoreflect.Message
func (*GetStuffTooRequest) Reset ¶
func (x *GetStuffTooRequest) Reset()
func (*GetStuffTooRequest) String ¶
func (x *GetStuffTooRequest) String() string
type GetStuffTooResponse ¶
type GetStuffTooResponse struct { Data []*Item `protobuf:"bytes,1,rep,name=Data,proto3" json:"Data,omitempty"` // contains filtered or unexported fields }
func (*GetStuffTooResponse) Descriptor
deprecated
func (*GetStuffTooResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStuffTooResponse.ProtoReflect.Descriptor instead.
func (*GetStuffTooResponse) GetData ¶
func (x *GetStuffTooResponse) GetData() []*Item
func (*GetStuffTooResponse) ProtoMessage ¶
func (*GetStuffTooResponse) ProtoMessage()
func (*GetStuffTooResponse) ProtoReflect ¶
func (x *GetStuffTooResponse) ProtoReflect() protoreflect.Message
func (*GetStuffTooResponse) Reset ¶
func (x *GetStuffTooResponse) Reset()
func (*GetStuffTooResponse) String ¶
func (x *GetStuffTooResponse) String() string
type Item ¶
type Item struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` A1 string `protobuf:"bytes,2,opt,name=A1,proto3" json:"A1,omitempty"` A2 string `protobuf:"bytes,3,opt,name=A2,proto3" json:"A2,omitempty"` // contains filtered or unexported fields }
func (*Item) Descriptor
deprecated
func (*Item) ProtoMessage ¶
func (*Item) ProtoMessage()
func (*Item) ProtoReflect ¶
func (x *Item) ProtoReflect() protoreflect.Message
type UnimplementedAdvancedGrpcServer ¶
type UnimplementedAdvancedGrpcServer struct { }
UnimplementedAdvancedGrpcServer can be embedded to have forward compatible implementations.
func (*UnimplementedAdvancedGrpcServer) GetStuff ¶
func (*UnimplementedAdvancedGrpcServer) GetStuff(context.Context, *GetStuffRequest) (*GetStuffResponse, error)
func (*UnimplementedAdvancedGrpcServer) GetStuffToo ¶
func (*UnimplementedAdvancedGrpcServer) GetStuffToo(context.Context, *GetStuffRequest) (*GetStuffResponse, error)
Click to show internal directories.
Click to hide internal directories.