Documentation ¶
Index ¶
- Variables
- func RegisterConciergefServer(s grpc.ServiceRegistrar, srv ConciergefServer)
- type ConciergefClient
- type ConciergefServer
- type Hello
- type Hi
- type Result
- type Result_ResultSys
- func (*Result_ResultSys) Descriptor() ([]byte, []int)deprecated
- func (x *Result_ResultSys) GetId() string
- func (x *Result_ResultSys) GetName() string
- func (*Result_ResultSys) ProtoMessage()
- func (x *Result_ResultSys) ProtoReflect() protoreflect.Message
- func (x *Result_ResultSys) Reset()
- func (x *Result_ResultSys) String() string
- type Search
- type UnimplementedConciergefServer
- type UnsafeConciergefServer
Constants ¶
This section is empty.
Variables ¶
var Conciergef_ServiceDesc = grpc.ServiceDesc{ ServiceName: "Conciergef", HandlerType: (*ConciergefServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CallTest", Handler: _Conciergef_CallTest_Handler, }, { MethodName: "CallSearch", Handler: _Conciergef_CallSearch_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "conciergef.proto", }
Conciergef_ServiceDesc is the grpc.ServiceDesc for Conciergef service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_conciergef_proto protoreflect.FileDescriptor
Functions ¶
func RegisterConciergefServer ¶
func RegisterConciergefServer(s grpc.ServiceRegistrar, srv ConciergefServer)
Types ¶
type ConciergefClient ¶
type ConciergefClient interface { CallTest(ctx context.Context, in *Hello, opts ...grpc.CallOption) (*Hi, error) CallSearch(ctx context.Context, in *Search, opts ...grpc.CallOption) (*Result, error) }
ConciergefClient is the client API for Conciergef service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewConciergefClient ¶
func NewConciergefClient(cc grpc.ClientConnInterface) ConciergefClient
type ConciergefServer ¶
type ConciergefServer interface { CallTest(context.Context, *Hello) (*Hi, error) CallSearch(context.Context, *Search) (*Result, error) // contains filtered or unexported methods }
ConciergefServer is the server API for Conciergef service. All implementations must embed UnimplementedConciergefServer for forward compatibility
type Hello ¶
type Hello struct { Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*Hello) Descriptor
deprecated
func (*Hello) ProtoMessage ¶
func (*Hello) ProtoMessage()
func (*Hello) ProtoReflect ¶
func (x *Hello) ProtoReflect() protoreflect.Message
type Hi ¶
type Hi struct { Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*Hi) Descriptor
deprecated
func (*Hi) ProtoMessage ¶
func (*Hi) ProtoMessage()
func (*Hi) ProtoReflect ¶
func (x *Hi) ProtoReflect() protoreflect.Message
type Result ¶
type Result struct { MResultSys []*Result_ResultSys `protobuf:"bytes,100,rep,name=mResultSys,proto3" json:"mResultSys,omitempty"` // contains filtered or unexported fields }
func (*Result) Descriptor
deprecated
func (*Result) GetMResultSys ¶
func (x *Result) GetMResultSys() []*Result_ResultSys
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
type Result_ResultSys ¶
type Result_ResultSys struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Result_ResultSys) Descriptor
deprecated
func (*Result_ResultSys) Descriptor() ([]byte, []int)
Deprecated: Use Result_ResultSys.ProtoReflect.Descriptor instead.
func (*Result_ResultSys) GetId ¶
func (x *Result_ResultSys) GetId() string
func (*Result_ResultSys) GetName ¶
func (x *Result_ResultSys) GetName() string
func (*Result_ResultSys) ProtoMessage ¶
func (*Result_ResultSys) ProtoMessage()
func (*Result_ResultSys) ProtoReflect ¶
func (x *Result_ResultSys) ProtoReflect() protoreflect.Message
func (*Result_ResultSys) Reset ¶
func (x *Result_ResultSys) Reset()
func (*Result_ResultSys) String ¶
func (x *Result_ResultSys) String() string
type Search ¶
type Search struct { Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*Search) Descriptor
deprecated
func (*Search) ProtoMessage ¶
func (*Search) ProtoMessage()
func (*Search) ProtoReflect ¶
func (x *Search) ProtoReflect() protoreflect.Message
type UnimplementedConciergefServer ¶
type UnimplementedConciergefServer struct { }
UnimplementedConciergefServer must be embedded to have forward compatible implementations.
func (UnimplementedConciergefServer) CallSearch ¶
type UnsafeConciergefServer ¶
type UnsafeConciergefServer interface {
// contains filtered or unexported methods
}
UnsafeConciergefServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConciergefServer will result in compilation errors.