Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterFilecenterServer(s grpc.ServiceRegistrar, srv FilecenterServer)
- type AskUploadFileReq
- func (*AskUploadFileReq) Descriptor() ([]byte, []int)deprecated
- func (x *AskUploadFileReq) GetFatherId() string
- func (x *AskUploadFileReq) GetFileId() string
- func (x *AskUploadFileReq) GetMd5() string
- func (x *AskUploadFileReq) GetName() string
- func (x *AskUploadFileReq) GetOk() bool
- func (x *AskUploadFileReq) GetSize() int64
- func (x *AskUploadFileReq) GetType() string
- func (x *AskUploadFileReq) GetUserId() string
- func (*AskUploadFileReq) ProtoMessage()
- func (x *AskUploadFileReq) ProtoReflect() protoreflect.Message
- func (x *AskUploadFileReq) Reset()
- func (x *AskUploadFileReq) String() string
- type AskUploadFileResp
- type DeleteExpiredFilesReq
- type DeleteExpiredFilesResp
- type DeleteExpiredShareCodesReq
- type DeleteExpiredShareCodesResp
- type File
- func (*File) Descriptor() ([]byte, []int)deprecated
- func (x *File) GetFatherId() string
- func (x *File) GetId() string
- func (x *File) GetMd5() string
- func (x *File) GetName() string
- func (x *File) GetPath() string
- func (x *File) GetSize() int64
- func (x *File) GetType() string
- func (x *File) GetUpdateTime() int64
- func (x *File) GetUserId() string
- func (*File) ProtoMessage()
- func (x *File) ProtoReflect() protoreflect.Message
- func (x *File) Reset()
- func (x *File) String() string
- type FileInfo
- func (*FileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FileInfo) GetId() string
- func (x *FileInfo) GetName() string
- func (x *FileInfo) GetPos() int64
- func (x *FileInfo) GetScore() int64
- func (x *FileInfo) GetUserId() string
- func (*FileInfo) ProtoMessage()
- func (x *FileInfo) ProtoReflect() protoreflect.Message
- func (x *FileInfo) Reset()
- func (x *FileInfo) String() string
- type FilecenterClient
- type FilecenterServer
- type FindFileInfoByFileIdReq
- func (*FindFileInfoByFileIdReq) Descriptor() ([]byte, []int)deprecated
- func (x *FindFileInfoByFileIdReq) GetFileIdList() []string
- func (x *FindFileInfoByFileIdReq) GetUserId() string
- func (*FindFileInfoByFileIdReq) ProtoMessage()
- func (x *FindFileInfoByFileIdReq) ProtoReflect() protoreflect.Message
- func (x *FindFileInfoByFileIdReq) Reset()
- func (x *FindFileInfoByFileIdReq) String() string
- type FindFileInfoByFileIdResp
- func (*FindFileInfoByFileIdResp) Descriptor() ([]byte, []int)deprecated
- func (x *FindFileInfoByFileIdResp) GetFileList() []*File
- func (*FindFileInfoByFileIdResp) ProtoMessage()
- func (x *FindFileInfoByFileIdResp) ProtoReflect() protoreflect.Message
- func (x *FindFileInfoByFileIdResp) Reset()
- func (x *FindFileInfoByFileIdResp) String() string
- type FindFileInfoInPublicByFileIdReq
- func (*FindFileInfoInPublicByFileIdReq) Descriptor() ([]byte, []int)deprecated
- func (x *FindFileInfoInPublicByFileIdReq) GetFileIdList() []string
- func (*FindFileInfoInPublicByFileIdReq) ProtoMessage()
- func (x *FindFileInfoInPublicByFileIdReq) ProtoReflect() protoreflect.Message
- func (x *FindFileInfoInPublicByFileIdReq) Reset()
- func (x *FindFileInfoInPublicByFileIdReq) String() string
- type FindFileInfoInPublicByFileIdResp
- func (*FindFileInfoInPublicByFileIdResp) Descriptor() ([]byte, []int)deprecated
- func (x *FindFileInfoInPublicByFileIdResp) GetFileList() []*PublicFile
- func (*FindFileInfoInPublicByFileIdResp) ProtoMessage()
- func (x *FindFileInfoInPublicByFileIdResp) ProtoReflect() protoreflect.Message
- func (x *FindFileInfoInPublicByFileIdResp) Reset()
- func (x *FindFileInfoInPublicByFileIdResp) String() string
- type FindOssInfoReq
- type FindOssInfoResp
- func (*FindOssInfoResp) Descriptor() ([]byte, []int)deprecated
- func (x *FindOssInfoResp) GetError() string
- func (x *FindOssInfoResp) GetOss() *OssInfo
- func (*FindOssInfoResp) ProtoMessage()
- func (x *FindOssInfoResp) ProtoReflect() protoreflect.Message
- func (x *FindOssInfoResp) Reset()
- func (x *FindOssInfoResp) String() string
- type OldFileInfo
- func (*OldFileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *OldFileInfo) GetFileId() string
- func (x *OldFileInfo) GetIsFolder() bool
- func (x *OldFileInfo) GetName() string
- func (x *OldFileInfo) GetNewPath() string
- func (x *OldFileInfo) GetOldPath() string
- func (*OldFileInfo) ProtoMessage()
- func (x *OldFileInfo) ProtoReflect() protoreflect.Message
- func (x *OldFileInfo) Reset()
- func (x *OldFileInfo) String() string
- type OssInfo
- func (*OssInfo) Descriptor() ([]byte, []int)deprecated
- func (x *OssInfo) GetAccessKeyId() string
- func (x *OssInfo) GetAccessKeySecret() string
- func (x *OssInfo) GetBucket() string
- func (x *OssInfo) GetStsToken() string
- func (*OssInfo) ProtoMessage()
- func (x *OssInfo) ProtoReflect() protoreflect.Message
- func (x *OssInfo) Reset()
- func (x *OssInfo) String() string
- type PublicFile
- func (*PublicFile) Descriptor() ([]byte, []int)deprecated
- func (x *PublicFile) GetFatherId() string
- func (x *PublicFile) GetId() string
- func (x *PublicFile) GetMd5() string
- func (x *PublicFile) GetName() string
- func (x *PublicFile) GetPath() string
- func (x *PublicFile) GetSize() int64
- func (x *PublicFile) GetType() string
- func (x *PublicFile) GetUpdateTime() int64
- func (x *PublicFile) GetUserId() string
- func (*PublicFile) ProtoMessage()
- func (x *PublicFile) ProtoReflect() protoreflect.Message
- func (x *PublicFile) Reset()
- func (x *PublicFile) String() string
- type UnimplementedFilecenterServer
- func (UnimplementedFilecenterServer) AskUploadFile(context.Context, *AskUploadFileReq) (*AskUploadFileResp, error)
- func (UnimplementedFilecenterServer) AskUploadFileRollback(context.Context, *AskUploadFileReq) (*AskUploadFileResp, error)
- func (UnimplementedFilecenterServer) DeleteExpiredFiles(context.Context, *DeleteExpiredFilesReq) (*DeleteExpiredFilesResp, error)
- func (UnimplementedFilecenterServer) DeleteExpiredShareCodes(context.Context, *DeleteExpiredShareCodesReq) (*DeleteExpiredShareCodesResp, error)
- func (UnimplementedFilecenterServer) FindFileInfoByFileId(context.Context, *FindFileInfoByFileIdReq) (*FindFileInfoByFileIdResp, error)
- func (UnimplementedFilecenterServer) FindFileInfoInPublicByFileId(context.Context, *FindFileInfoInPublicByFileIdReq) (*FindFileInfoInPublicByFileIdResp, error)
- func (UnimplementedFilecenterServer) FindOssInfo(context.Context, *FindOssInfoReq) (*FindOssInfoResp, error)
- func (UnimplementedFilecenterServer) UploadFile(context.Context, *UploadFileReq) (*UploadFileResp, error)
- type UnsafeFilecenterServer
- type UploadFileReq
- func (*UploadFileReq) Descriptor() ([]byte, []int)deprecated
- func (x *UploadFileReq) GetFile() [][]byte
- func (x *UploadFileReq) GetName() []string
- func (*UploadFileReq) ProtoMessage()
- func (x *UploadFileReq) ProtoReflect() protoreflect.Message
- func (x *UploadFileReq) Reset()
- func (x *UploadFileReq) String() string
- type UploadFileResp
Constants ¶
const ( Filecenter_FindOssInfo_FullMethodName = "/pb.filecenter/FindOssInfo" Filecenter_FindFileInfoInPublicByFileId_FullMethodName = "/pb.filecenter/FindFileInfoInPublicByFileId" Filecenter_FindFileInfoByFileId_FullMethodName = "/pb.filecenter/FindFileInfoByFileId" Filecenter_DeleteExpiredFiles_FullMethodName = "/pb.filecenter/DeleteExpiredFiles" Filecenter_UploadFile_FullMethodName = "/pb.filecenter/UploadFile" Filecenter_AskUploadFile_FullMethodName = "/pb.filecenter/AskUploadFile" Filecenter_AskUploadFileRollback_FullMethodName = "/pb.filecenter/AskUploadFileRollback" )
Variables ¶
var File_filecenter_proto protoreflect.FileDescriptor
var Filecenter_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.filecenter", HandlerType: (*FilecenterServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FindOssInfo", Handler: _Filecenter_FindOssInfo_Handler, }, { MethodName: "FindFileInfoInPublicByFileId", Handler: _Filecenter_FindFileInfoInPublicByFileId_Handler, }, { MethodName: "FindFileInfoByFileId", Handler: _Filecenter_FindFileInfoByFileId_Handler, }, { MethodName: "DeleteExpiredFiles", Handler: _Filecenter_DeleteExpiredFiles_Handler, }, { MethodName: "DeleteExpiredShareCodes", Handler: _Filecenter_DeleteExpiredShareCodes_Handler, }, { MethodName: "UploadFile", Handler: _Filecenter_UploadFile_Handler, }, { MethodName: "AskUploadFile", Handler: _Filecenter_AskUploadFile_Handler, }, { MethodName: "AskUploadFileRollback", Handler: _Filecenter_AskUploadFileRollback_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "filecenter.proto", }
Filecenter_ServiceDesc is the grpc.ServiceDesc for Filecenter service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterFilecenterServer ¶
func RegisterFilecenterServer(s grpc.ServiceRegistrar, srv FilecenterServer)
Types ¶
type AskUploadFileReq ¶
type AskUploadFileReq struct { Size int64 `protobuf:"varint,1,opt,name=Size,proto3" json:"Size,omitempty"` UserId string `protobuf:"bytes,2,opt,name=UserId,proto3" json:"UserId,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"` Type string `protobuf:"bytes,4,opt,name=Type,proto3" json:"Type,omitempty"` Md5 string `protobuf:"bytes,5,opt,name=Md5,proto3" json:"Md5,omitempty"` FatherId string `protobuf:"bytes,6,opt,name=FatherId,proto3" json:"FatherId,omitempty"` FileId string `protobuf:"bytes,7,opt,name=FileId,proto3" json:"FileId,omitempty"` Ok bool `protobuf:"varint,8,opt,name=Ok,proto3" json:"Ok,omitempty"` // contains filtered or unexported fields }
func (*AskUploadFileReq) Descriptor
deprecated
func (*AskUploadFileReq) Descriptor() ([]byte, []int)
Deprecated: Use AskUploadFileReq.ProtoReflect.Descriptor instead.
func (*AskUploadFileReq) GetFatherId ¶
func (x *AskUploadFileReq) GetFatherId() string
func (*AskUploadFileReq) GetFileId ¶
func (x *AskUploadFileReq) GetFileId() string
func (*AskUploadFileReq) GetMd5 ¶
func (x *AskUploadFileReq) GetMd5() string
func (*AskUploadFileReq) GetName ¶
func (x *AskUploadFileReq) GetName() string
func (*AskUploadFileReq) GetOk ¶
func (x *AskUploadFileReq) GetOk() bool
func (*AskUploadFileReq) GetSize ¶
func (x *AskUploadFileReq) GetSize() int64
func (*AskUploadFileReq) GetType ¶
func (x *AskUploadFileReq) GetType() string
func (*AskUploadFileReq) GetUserId ¶
func (x *AskUploadFileReq) GetUserId() string
func (*AskUploadFileReq) ProtoMessage ¶
func (*AskUploadFileReq) ProtoMessage()
func (*AskUploadFileReq) ProtoReflect ¶
func (x *AskUploadFileReq) ProtoReflect() protoreflect.Message
func (*AskUploadFileReq) Reset ¶
func (x *AskUploadFileReq) Reset()
func (*AskUploadFileReq) String ¶
func (x *AskUploadFileReq) String() string
type AskUploadFileResp ¶
type AskUploadFileResp struct {
// contains filtered or unexported fields
}
func (*AskUploadFileResp) Descriptor
deprecated
func (*AskUploadFileResp) Descriptor() ([]byte, []int)
Deprecated: Use AskUploadFileResp.ProtoReflect.Descriptor instead.
func (*AskUploadFileResp) ProtoMessage ¶
func (*AskUploadFileResp) ProtoMessage()
func (*AskUploadFileResp) ProtoReflect ¶
func (x *AskUploadFileResp) ProtoReflect() protoreflect.Message
func (*AskUploadFileResp) Reset ¶
func (x *AskUploadFileResp) Reset()
func (*AskUploadFileResp) String ¶
func (x *AskUploadFileResp) String() string
type DeleteExpiredFilesReq ¶
type DeleteExpiredFilesReq struct {
// contains filtered or unexported fields
}
func (*DeleteExpiredFilesReq) Descriptor
deprecated
func (*DeleteExpiredFilesReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteExpiredFilesReq.ProtoReflect.Descriptor instead.
func (*DeleteExpiredFilesReq) ProtoMessage ¶
func (*DeleteExpiredFilesReq) ProtoMessage()
func (*DeleteExpiredFilesReq) ProtoReflect ¶
func (x *DeleteExpiredFilesReq) ProtoReflect() protoreflect.Message
func (*DeleteExpiredFilesReq) Reset ¶
func (x *DeleteExpiredFilesReq) Reset()
func (*DeleteExpiredFilesReq) String ¶
func (x *DeleteExpiredFilesReq) String() string
type DeleteExpiredFilesResp ¶
type DeleteExpiredFilesResp struct {
// contains filtered or unexported fields
}
func (*DeleteExpiredFilesResp) Descriptor
deprecated
func (*DeleteExpiredFilesResp) Descriptor() ([]byte, []int)
Deprecated: Use DeleteExpiredFilesResp.ProtoReflect.Descriptor instead.
func (*DeleteExpiredFilesResp) ProtoMessage ¶
func (*DeleteExpiredFilesResp) ProtoMessage()
func (*DeleteExpiredFilesResp) ProtoReflect ¶
func (x *DeleteExpiredFilesResp) ProtoReflect() protoreflect.Message
func (*DeleteExpiredFilesResp) Reset ¶
func (x *DeleteExpiredFilesResp) Reset()
func (*DeleteExpiredFilesResp) String ¶
func (x *DeleteExpiredFilesResp) String() string
type DeleteExpiredShareCodesReq ¶
type DeleteExpiredShareCodesReq struct {
// contains filtered or unexported fields
}
func (*DeleteExpiredShareCodesReq) Descriptor
deprecated
func (*DeleteExpiredShareCodesReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteExpiredShareCodesReq.ProtoReflect.Descriptor instead.
func (*DeleteExpiredShareCodesReq) ProtoMessage ¶
func (*DeleteExpiredShareCodesReq) ProtoMessage()
func (*DeleteExpiredShareCodesReq) ProtoReflect ¶
func (x *DeleteExpiredShareCodesReq) ProtoReflect() protoreflect.Message
func (*DeleteExpiredShareCodesReq) Reset ¶
func (x *DeleteExpiredShareCodesReq) Reset()
func (*DeleteExpiredShareCodesReq) String ¶
func (x *DeleteExpiredShareCodesReq) String() string
type DeleteExpiredShareCodesResp ¶
type DeleteExpiredShareCodesResp struct {
// contains filtered or unexported fields
}
func (*DeleteExpiredShareCodesResp) Descriptor
deprecated
func (*DeleteExpiredShareCodesResp) Descriptor() ([]byte, []int)
Deprecated: Use DeleteExpiredShareCodesResp.ProtoReflect.Descriptor instead.
func (*DeleteExpiredShareCodesResp) ProtoMessage ¶
func (*DeleteExpiredShareCodesResp) ProtoMessage()
func (*DeleteExpiredShareCodesResp) ProtoReflect ¶
func (x *DeleteExpiredShareCodesResp) ProtoReflect() protoreflect.Message
func (*DeleteExpiredShareCodesResp) Reset ¶
func (x *DeleteExpiredShareCodesResp) Reset()
func (*DeleteExpiredShareCodesResp) String ¶
func (x *DeleteExpiredShareCodesResp) String() string
type File ¶
type File struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Path string `protobuf:"bytes,2,opt,name=Path,proto3" json:"Path,omitempty"` Id string `protobuf:"bytes,3,opt,name=Id,proto3" json:"Id,omitempty"` FatherId string `protobuf:"bytes,4,opt,name=FatherId,proto3" json:"FatherId,omitempty"` Type string `protobuf:"bytes,5,opt,name=Type,proto3" json:"Type,omitempty"` UpdateTime int64 `protobuf:"varint,6,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"` Size int64 `protobuf:"varint,7,opt,name=Size,proto3" json:"Size,omitempty"` Md5 string `protobuf:"bytes,8,opt,name=Md5,proto3" json:"Md5,omitempty"` UserId string `protobuf:"bytes,9,opt,name=UserId,proto3" json:"UserId,omitempty"` // contains filtered or unexported fields }
func (*File) Descriptor
deprecated
func (*File) GetFatherId ¶
func (*File) GetUpdateTime ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type FileInfo ¶
type FileInfo struct { Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` UserId string `protobuf:"bytes,3,opt,name=UserId,proto3" json:"UserId,omitempty"` Score int64 `protobuf:"varint,4,opt,name=Score,proto3" json:"Score,omitempty"` Pos int64 `protobuf:"varint,5,opt,name=Pos,proto3" json:"Pos,omitempty"` // contains filtered or unexported fields }
func (*FileInfo) Descriptor
deprecated
func (*FileInfo) ProtoMessage ¶
func (*FileInfo) ProtoMessage()
func (*FileInfo) ProtoReflect ¶
func (x *FileInfo) ProtoReflect() protoreflect.Message
type FilecenterClient ¶
type FilecenterClient interface { FindOssInfo(ctx context.Context, in *FindOssInfoReq, opts ...grpc.CallOption) (*FindOssInfoResp, error) FindFileInfoInPublicByFileId(ctx context.Context, in *FindFileInfoInPublicByFileIdReq, opts ...grpc.CallOption) (*FindFileInfoInPublicByFileIdResp, error) FindFileInfoByFileId(ctx context.Context, in *FindFileInfoByFileIdReq, opts ...grpc.CallOption) (*FindFileInfoByFileIdResp, error) DeleteExpiredFiles(ctx context.Context, in *DeleteExpiredFilesReq, opts ...grpc.CallOption) (*DeleteExpiredFilesResp, error) UploadFile(ctx context.Context, in *UploadFileReq, opts ...grpc.CallOption) (*UploadFileResp, error) AskUploadFile(ctx context.Context, in *AskUploadFileReq, opts ...grpc.CallOption) (*AskUploadFileResp, error) AskUploadFileRollback(ctx context.Context, in *AskUploadFileReq, opts ...grpc.CallOption) (*AskUploadFileResp, error) }
FilecenterClient is the client API for Filecenter 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 NewFilecenterClient ¶
func NewFilecenterClient(cc grpc.ClientConnInterface) FilecenterClient
type FilecenterServer ¶
type FilecenterServer interface { FindOssInfo(context.Context, *FindOssInfoReq) (*FindOssInfoResp, error) FindFileInfoInPublicByFileId(context.Context, *FindFileInfoInPublicByFileIdReq) (*FindFileInfoInPublicByFileIdResp, error) FindFileInfoByFileId(context.Context, *FindFileInfoByFileIdReq) (*FindFileInfoByFileIdResp, error) DeleteExpiredFiles(context.Context, *DeleteExpiredFilesReq) (*DeleteExpiredFilesResp, error) UploadFile(context.Context, *UploadFileReq) (*UploadFileResp, error) AskUploadFile(context.Context, *AskUploadFileReq) (*AskUploadFileResp, error) AskUploadFileRollback(context.Context, *AskUploadFileReq) (*AskUploadFileResp, error) // contains filtered or unexported methods }
FilecenterServer is the server API for Filecenter service. All implementations must embed UnimplementedFilecenterServer for forward compatibility
type FindFileInfoByFileIdReq ¶
type FindFileInfoByFileIdReq struct { FileIdList []string `protobuf:"bytes,1,rep,name=FileIdList,proto3" json:"FileIdList,omitempty"` UserId string `protobuf:"bytes,2,opt,name=UserId,proto3" json:"UserId,omitempty"` // contains filtered or unexported fields }
func (*FindFileInfoByFileIdReq) Descriptor
deprecated
func (*FindFileInfoByFileIdReq) Descriptor() ([]byte, []int)
Deprecated: Use FindFileInfoByFileIdReq.ProtoReflect.Descriptor instead.
func (*FindFileInfoByFileIdReq) GetFileIdList ¶
func (x *FindFileInfoByFileIdReq) GetFileIdList() []string
func (*FindFileInfoByFileIdReq) GetUserId ¶
func (x *FindFileInfoByFileIdReq) GetUserId() string
func (*FindFileInfoByFileIdReq) ProtoMessage ¶
func (*FindFileInfoByFileIdReq) ProtoMessage()
func (*FindFileInfoByFileIdReq) ProtoReflect ¶
func (x *FindFileInfoByFileIdReq) ProtoReflect() protoreflect.Message
func (*FindFileInfoByFileIdReq) Reset ¶
func (x *FindFileInfoByFileIdReq) Reset()
func (*FindFileInfoByFileIdReq) String ¶
func (x *FindFileInfoByFileIdReq) String() string
type FindFileInfoByFileIdResp ¶
type FindFileInfoByFileIdResp struct { FileList []*File `protobuf:"bytes,1,rep,name=FileList,proto3" json:"FileList,omitempty"` // contains filtered or unexported fields }
func (*FindFileInfoByFileIdResp) Descriptor
deprecated
func (*FindFileInfoByFileIdResp) Descriptor() ([]byte, []int)
Deprecated: Use FindFileInfoByFileIdResp.ProtoReflect.Descriptor instead.
func (*FindFileInfoByFileIdResp) GetFileList ¶
func (x *FindFileInfoByFileIdResp) GetFileList() []*File
func (*FindFileInfoByFileIdResp) ProtoMessage ¶
func (*FindFileInfoByFileIdResp) ProtoMessage()
func (*FindFileInfoByFileIdResp) ProtoReflect ¶
func (x *FindFileInfoByFileIdResp) ProtoReflect() protoreflect.Message
func (*FindFileInfoByFileIdResp) Reset ¶
func (x *FindFileInfoByFileIdResp) Reset()
func (*FindFileInfoByFileIdResp) String ¶
func (x *FindFileInfoByFileIdResp) String() string
type FindFileInfoInPublicByFileIdReq ¶
type FindFileInfoInPublicByFileIdReq struct { FileIdList []string `protobuf:"bytes,1,rep,name=FileIdList,proto3" json:"FileIdList,omitempty"` // contains filtered or unexported fields }
func (*FindFileInfoInPublicByFileIdReq) Descriptor
deprecated
func (*FindFileInfoInPublicByFileIdReq) Descriptor() ([]byte, []int)
Deprecated: Use FindFileInfoInPublicByFileIdReq.ProtoReflect.Descriptor instead.
func (*FindFileInfoInPublicByFileIdReq) GetFileIdList ¶
func (x *FindFileInfoInPublicByFileIdReq) GetFileIdList() []string
func (*FindFileInfoInPublicByFileIdReq) ProtoMessage ¶
func (*FindFileInfoInPublicByFileIdReq) ProtoMessage()
func (*FindFileInfoInPublicByFileIdReq) ProtoReflect ¶
func (x *FindFileInfoInPublicByFileIdReq) ProtoReflect() protoreflect.Message
func (*FindFileInfoInPublicByFileIdReq) Reset ¶
func (x *FindFileInfoInPublicByFileIdReq) Reset()
func (*FindFileInfoInPublicByFileIdReq) String ¶
func (x *FindFileInfoInPublicByFileIdReq) String() string
type FindFileInfoInPublicByFileIdResp ¶
type FindFileInfoInPublicByFileIdResp struct { FileList []*PublicFile `protobuf:"bytes,1,rep,name=FileList,proto3" json:"FileList,omitempty"` // contains filtered or unexported fields }
func (*FindFileInfoInPublicByFileIdResp) Descriptor
deprecated
func (*FindFileInfoInPublicByFileIdResp) Descriptor() ([]byte, []int)
Deprecated: Use FindFileInfoInPublicByFileIdResp.ProtoReflect.Descriptor instead.
func (*FindFileInfoInPublicByFileIdResp) GetFileList ¶
func (x *FindFileInfoInPublicByFileIdResp) GetFileList() []*PublicFile
func (*FindFileInfoInPublicByFileIdResp) ProtoMessage ¶
func (*FindFileInfoInPublicByFileIdResp) ProtoMessage()
func (*FindFileInfoInPublicByFileIdResp) ProtoReflect ¶
func (x *FindFileInfoInPublicByFileIdResp) ProtoReflect() protoreflect.Message
func (*FindFileInfoInPublicByFileIdResp) Reset ¶
func (x *FindFileInfoInPublicByFileIdResp) Reset()
func (*FindFileInfoInPublicByFileIdResp) String ¶
func (x *FindFileInfoInPublicByFileIdResp) String() string
type FindOssInfoReq ¶
type FindOssInfoReq struct { UserId string `protobuf:"bytes,1,opt,name=UserId,proto3" json:"UserId,omitempty"` // contains filtered or unexported fields }
func (*FindOssInfoReq) Descriptor
deprecated
func (*FindOssInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use FindOssInfoReq.ProtoReflect.Descriptor instead.
func (*FindOssInfoReq) GetUserId ¶
func (x *FindOssInfoReq) GetUserId() string
func (*FindOssInfoReq) ProtoMessage ¶
func (*FindOssInfoReq) ProtoMessage()
func (*FindOssInfoReq) ProtoReflect ¶
func (x *FindOssInfoReq) ProtoReflect() protoreflect.Message
func (*FindOssInfoReq) Reset ¶
func (x *FindOssInfoReq) Reset()
func (*FindOssInfoReq) String ¶
func (x *FindOssInfoReq) String() string
type FindOssInfoResp ¶
type FindOssInfoResp struct { Oss *OssInfo `protobuf:"bytes,1,opt,name=Oss,proto3" json:"Oss,omitempty"` Error string `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"` // contains filtered or unexported fields }
func (*FindOssInfoResp) Descriptor
deprecated
func (*FindOssInfoResp) Descriptor() ([]byte, []int)
Deprecated: Use FindOssInfoResp.ProtoReflect.Descriptor instead.
func (*FindOssInfoResp) GetError ¶
func (x *FindOssInfoResp) GetError() string
func (*FindOssInfoResp) GetOss ¶
func (x *FindOssInfoResp) GetOss() *OssInfo
func (*FindOssInfoResp) ProtoMessage ¶
func (*FindOssInfoResp) ProtoMessage()
func (*FindOssInfoResp) ProtoReflect ¶
func (x *FindOssInfoResp) ProtoReflect() protoreflect.Message
func (*FindOssInfoResp) Reset ¶
func (x *FindOssInfoResp) Reset()
func (*FindOssInfoResp) String ¶
func (x *FindOssInfoResp) String() string
type OldFileInfo ¶
type OldFileInfo struct { FileId string `protobuf:"bytes,1,opt,name=FileId,proto3" json:"FileId,omitempty"` OldPath string `protobuf:"bytes,2,opt,name=OldPath,proto3" json:"OldPath,omitempty"` NewPath string `protobuf:"bytes,3,opt,name=NewPath,proto3" json:"NewPath,omitempty"` IsFolder bool `protobuf:"varint,4,opt,name=IsFolder,proto3" json:"IsFolder,omitempty"` Name string `protobuf:"bytes,5,opt,name=Name,proto3" json:"Name,omitempty"` // contains filtered or unexported fields }
func (*OldFileInfo) Descriptor
deprecated
func (*OldFileInfo) Descriptor() ([]byte, []int)
Deprecated: Use OldFileInfo.ProtoReflect.Descriptor instead.
func (*OldFileInfo) GetFileId ¶
func (x *OldFileInfo) GetFileId() string
func (*OldFileInfo) GetIsFolder ¶
func (x *OldFileInfo) GetIsFolder() bool
func (*OldFileInfo) GetName ¶
func (x *OldFileInfo) GetName() string
func (*OldFileInfo) GetNewPath ¶
func (x *OldFileInfo) GetNewPath() string
func (*OldFileInfo) GetOldPath ¶
func (x *OldFileInfo) GetOldPath() string
func (*OldFileInfo) ProtoMessage ¶
func (*OldFileInfo) ProtoMessage()
func (*OldFileInfo) ProtoReflect ¶
func (x *OldFileInfo) ProtoReflect() protoreflect.Message
func (*OldFileInfo) Reset ¶
func (x *OldFileInfo) Reset()
func (*OldFileInfo) String ¶
func (x *OldFileInfo) String() string
type OssInfo ¶
type OssInfo struct { AccessKeyId string `protobuf:"bytes,1,opt,name=AccessKeyId,proto3" json:"AccessKeyId,omitempty"` AccessKeySecret string `protobuf:"bytes,2,opt,name=AccessKeySecret,proto3" json:"AccessKeySecret,omitempty"` StsToken string `protobuf:"bytes,3,opt,name=StsToken,proto3" json:"StsToken,omitempty"` Bucket string `protobuf:"bytes,4,opt,name=Bucket,proto3" json:"Bucket,omitempty"` // contains filtered or unexported fields }
func (*OssInfo) Descriptor
deprecated
func (*OssInfo) GetAccessKeyId ¶
func (*OssInfo) GetAccessKeySecret ¶
func (*OssInfo) GetStsToken ¶
func (*OssInfo) ProtoMessage ¶
func (*OssInfo) ProtoMessage()
func (*OssInfo) ProtoReflect ¶
func (x *OssInfo) ProtoReflect() protoreflect.Message
type PublicFile ¶
type PublicFile struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Path string `protobuf:"bytes,2,opt,name=Path,proto3" json:"Path,omitempty"` Id string `protobuf:"bytes,3,opt,name=Id,proto3" json:"Id,omitempty"` FatherId string `protobuf:"bytes,4,opt,name=FatherId,proto3" json:"FatherId,omitempty"` Type string `protobuf:"bytes,5,opt,name=Type,proto3" json:"Type,omitempty"` UpdateTime int64 `protobuf:"varint,6,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"` Size int64 `protobuf:"varint,7,opt,name=Size,proto3" json:"Size,omitempty"` Md5 string `protobuf:"bytes,8,opt,name=Md5,proto3" json:"Md5,omitempty"` UserId string `protobuf:"bytes,9,opt,name=UserId,proto3" json:"UserId,omitempty"` // contains filtered or unexported fields }
func (*PublicFile) Descriptor
deprecated
func (*PublicFile) Descriptor() ([]byte, []int)
Deprecated: Use PublicFile.ProtoReflect.Descriptor instead.
func (*PublicFile) GetFatherId ¶
func (x *PublicFile) GetFatherId() string
func (*PublicFile) GetId ¶
func (x *PublicFile) GetId() string
func (*PublicFile) GetMd5 ¶
func (x *PublicFile) GetMd5() string
func (*PublicFile) GetName ¶
func (x *PublicFile) GetName() string
func (*PublicFile) GetPath ¶
func (x *PublicFile) GetPath() string
func (*PublicFile) GetSize ¶
func (x *PublicFile) GetSize() int64
func (*PublicFile) GetType ¶
func (x *PublicFile) GetType() string
func (*PublicFile) GetUpdateTime ¶
func (x *PublicFile) GetUpdateTime() int64
func (*PublicFile) GetUserId ¶
func (x *PublicFile) GetUserId() string
func (*PublicFile) ProtoMessage ¶
func (*PublicFile) ProtoMessage()
func (*PublicFile) ProtoReflect ¶
func (x *PublicFile) ProtoReflect() protoreflect.Message
func (*PublicFile) Reset ¶
func (x *PublicFile) Reset()
func (*PublicFile) String ¶
func (x *PublicFile) String() string
type UnimplementedFilecenterServer ¶
type UnimplementedFilecenterServer struct { }
UnimplementedFilecenterServer must be embedded to have forward compatible implementations.
func (UnimplementedFilecenterServer) AskUploadFile ¶
func (UnimplementedFilecenterServer) AskUploadFile(context.Context, *AskUploadFileReq) (*AskUploadFileResp, error)
func (UnimplementedFilecenterServer) AskUploadFileRollback ¶
func (UnimplementedFilecenterServer) AskUploadFileRollback(context.Context, *AskUploadFileReq) (*AskUploadFileResp, error)
func (UnimplementedFilecenterServer) DeleteExpiredFiles ¶
func (UnimplementedFilecenterServer) DeleteExpiredFiles(context.Context, *DeleteExpiredFilesReq) (*DeleteExpiredFilesResp, error)
func (UnimplementedFilecenterServer) DeleteExpiredShareCodes ¶
func (UnimplementedFilecenterServer) DeleteExpiredShareCodes(context.Context, *DeleteExpiredShareCodesReq) (*DeleteExpiredShareCodesResp, error)
func (UnimplementedFilecenterServer) FindFileInfoByFileId ¶
func (UnimplementedFilecenterServer) FindFileInfoByFileId(context.Context, *FindFileInfoByFileIdReq) (*FindFileInfoByFileIdResp, error)
func (UnimplementedFilecenterServer) FindFileInfoInPublicByFileId ¶
func (UnimplementedFilecenterServer) FindFileInfoInPublicByFileId(context.Context, *FindFileInfoInPublicByFileIdReq) (*FindFileInfoInPublicByFileIdResp, error)
func (UnimplementedFilecenterServer) FindOssInfo ¶
func (UnimplementedFilecenterServer) FindOssInfo(context.Context, *FindOssInfoReq) (*FindOssInfoResp, error)
func (UnimplementedFilecenterServer) UploadFile ¶
func (UnimplementedFilecenterServer) UploadFile(context.Context, *UploadFileReq) (*UploadFileResp, error)
type UnsafeFilecenterServer ¶
type UnsafeFilecenterServer interface {
// contains filtered or unexported methods
}
UnsafeFilecenterServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FilecenterServer will result in compilation errors.
type UploadFileReq ¶
type UploadFileReq struct { File [][]byte `protobuf:"bytes,1,rep,name=File,proto3" json:"File,omitempty"` Name []string `protobuf:"bytes,2,rep,name=Name,proto3" json:"Name,omitempty"` // contains filtered or unexported fields }
func (*UploadFileReq) Descriptor
deprecated
func (*UploadFileReq) Descriptor() ([]byte, []int)
Deprecated: Use UploadFileReq.ProtoReflect.Descriptor instead.
func (*UploadFileReq) GetFile ¶
func (x *UploadFileReq) GetFile() [][]byte
func (*UploadFileReq) GetName ¶
func (x *UploadFileReq) GetName() []string
func (*UploadFileReq) ProtoMessage ¶
func (*UploadFileReq) ProtoMessage()
func (*UploadFileReq) ProtoReflect ¶
func (x *UploadFileReq) ProtoReflect() protoreflect.Message
func (*UploadFileReq) Reset ¶
func (x *UploadFileReq) Reset()
func (*UploadFileReq) String ¶
func (x *UploadFileReq) String() string
type UploadFileResp ¶
type UploadFileResp struct {
// contains filtered or unexported fields
}
func (*UploadFileResp) Descriptor
deprecated
func (*UploadFileResp) Descriptor() ([]byte, []int)
Deprecated: Use UploadFileResp.ProtoReflect.Descriptor instead.
func (*UploadFileResp) ProtoMessage ¶
func (*UploadFileResp) ProtoMessage()
func (*UploadFileResp) ProtoReflect ¶
func (x *UploadFileResp) ProtoReflect() protoreflect.Message
func (*UploadFileResp) Reset ¶
func (x *UploadFileResp) Reset()
func (*UploadFileResp) String ¶
func (x *UploadFileResp) String() string