Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_helloword_proto protoreflect.FileDescriptor
Functions ¶
func RegisterHelloWordServer ¶
func RegisterHelloWordServer(s *grpc.Server, srv HelloWordServer)
Types ¶
type HelloReq ¶
type HelloReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*HelloReq) Descriptor
deprecated
func (*HelloReq) ProtoMessage ¶
func (*HelloReq) ProtoMessage()
func (*HelloReq) ProtoReflect ¶
func (x *HelloReq) ProtoReflect() protoreflect.Message
type HelloRsp ¶
type HelloRsp struct { Rt string `protobuf:"bytes,1,opt,name=rt,proto3" json:"rt,omitempty"` // contains filtered or unexported fields }
func (*HelloRsp) Descriptor
deprecated
func (*HelloRsp) ProtoMessage ¶
func (*HelloRsp) ProtoMessage()
func (*HelloRsp) ProtoReflect ¶
func (x *HelloRsp) ProtoReflect() protoreflect.Message
type HelloWordClient ¶
type HelloWordClient interface {
SayHello(ctx context.Context, in *HelloReq, opts ...grpc.CallOption) (*HelloRsp, error)
}
HelloWordClient is the client API for HelloWord service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHelloWordClient ¶
func NewHelloWordClient(cc grpc.ClientConnInterface) HelloWordClient
type HelloWordServer ¶
HelloWordServer is the server API for HelloWord service.
type UnimplementedHelloWordServer ¶
type UnimplementedHelloWordServer struct { }
UnimplementedHelloWordServer can be embedded to have forward compatible implementations.
Click to show internal directories.
Click to hide internal directories.