index_platform

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_index_platform_proto protoreflect.FileDescriptor
View Source
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.

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL