Documentation ¶
Index ¶
- Variables
- func RegisterIndexPlatformServiceServer(s grpc.ServiceRegistrar, srv IndexPlatformServiceServer)
- type BuildIndexReq
- type BuildIndexResp
- func (*BuildIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *BuildIndexResp) GetCode() int64
- func (x *BuildIndexResp) GetMessage() string
- func (*BuildIndexResp) ProtoMessage()
- func (x *BuildIndexResp) ProtoReflect() protoreflect.Message
- func (x *BuildIndexResp) Reset()
- func (x *BuildIndexResp) String() string
- type IndexPlatformServiceClient
- type IndexPlatformServiceServer
- type UnimplementedIndexPlatformServiceServer
- type UnsafeIndexPlatformServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_index_platform_proto protoreflect.FileDescriptor
var IndexPlatformService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "IndexPlatformService", HandlerType: (*IndexPlatformServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "BuildIndexService", Handler: _IndexPlatformService_BuildIndexService_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "index_platform.proto", }
IndexPlatformService_ServiceDesc is the grpc.ServiceDesc for IndexPlatformService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIndexPlatformServiceServer ¶
func RegisterIndexPlatformServiceServer(s grpc.ServiceRegistrar, srv IndexPlatformServiceServer)
Types ¶
type BuildIndexReq ¶
type BuildIndexReq struct { // @inject_tag:form:"file_path" uri:"file_path" FilePath []string `protobuf:"bytes,1,rep,name=file_path,json=filePath,proto3" json:"file_path,omitempty" form:"file_path" uri:"file_path"` // contains filtered or unexported fields }
func (*BuildIndexReq) Descriptor
deprecated
func (*BuildIndexReq) Descriptor() ([]byte, []int)
Deprecated: Use BuildIndexReq.ProtoReflect.Descriptor instead.
func (*BuildIndexReq) GetFilePath ¶
func (x *BuildIndexReq) GetFilePath() []string
func (*BuildIndexReq) ProtoMessage ¶
func (*BuildIndexReq) ProtoMessage()
func (*BuildIndexReq) ProtoReflect ¶
func (x *BuildIndexReq) ProtoReflect() protoreflect.Message
func (*BuildIndexReq) Reset ¶
func (x *BuildIndexReq) Reset()
func (*BuildIndexReq) String ¶
func (x *BuildIndexReq) String() string
type BuildIndexResp ¶
type BuildIndexResp struct { // @inject_tag:form:"code" uri:"code" Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty" form:"code" uri:"code"` // @inject_tag:form:"message" uri:"message" Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty" form:"message" uri:"message"` // contains filtered or unexported fields }
func (*BuildIndexResp) Descriptor
deprecated
func (*BuildIndexResp) Descriptor() ([]byte, []int)
Deprecated: Use BuildIndexResp.ProtoReflect.Descriptor instead.
func (*BuildIndexResp) GetCode ¶
func (x *BuildIndexResp) GetCode() int64
func (*BuildIndexResp) GetMessage ¶
func (x *BuildIndexResp) GetMessage() string
func (*BuildIndexResp) ProtoMessage ¶
func (*BuildIndexResp) ProtoMessage()
func (*BuildIndexResp) ProtoReflect ¶
func (x *BuildIndexResp) ProtoReflect() protoreflect.Message
func (*BuildIndexResp) Reset ¶
func (x *BuildIndexResp) Reset()
func (*BuildIndexResp) String ¶
func (x *BuildIndexResp) String() string
type IndexPlatformServiceClient ¶
type IndexPlatformServiceClient interface {
BuildIndexService(ctx context.Context, in *BuildIndexReq, opts ...grpc.CallOption) (*BuildIndexResp, error)
}
IndexPlatformServiceClient is the client API for IndexPlatformService 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 NewIndexPlatformServiceClient ¶
func NewIndexPlatformServiceClient(cc grpc.ClientConnInterface) IndexPlatformServiceClient
type IndexPlatformServiceServer ¶
type IndexPlatformServiceServer interface { BuildIndexService(context.Context, *BuildIndexReq) (*BuildIndexResp, error) // contains filtered or unexported methods }
IndexPlatformServiceServer is the server API for IndexPlatformService service. All implementations must embed UnimplementedIndexPlatformServiceServer for forward compatibility
type UnimplementedIndexPlatformServiceServer ¶
type UnimplementedIndexPlatformServiceServer struct { }
UnimplementedIndexPlatformServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedIndexPlatformServiceServer) BuildIndexService ¶
func (UnimplementedIndexPlatformServiceServer) BuildIndexService(context.Context, *BuildIndexReq) (*BuildIndexResp, error)
type UnsafeIndexPlatformServiceServer ¶
type UnsafeIndexPlatformServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIndexPlatformServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IndexPlatformServiceServer will result in compilation errors.