Versions in this module Expand all Collapse all v1 v1.0.2 Sep 7, 2026 v1.0.1 Sep 7, 2026 v1.0.0 Sep 7, 2026 Changes in this version + const FileServer_ChangeDir_FullMethodName + const FileServer_CloseFile_FullMethodName + const FileServer_CreateFile_FullMethodName + const FileServer_DeleteFile_FullMethodName + const FileServer_DownloadFile_FullMethodName + const FileServer_GetAttr_FullMethodName + const FileServer_ListDir_FullMethodName + const FileServer_Lookup_FullMethodName + const FileServer_OpenFile_FullMethodName + const FileServer_Path_FullMethodName + const FileServer_ReadFile_FullMethodName + const FileServer_RegisterClient_FullMethodName + const FileServer_RestoreFile_FullMethodName + const FileServer_SetQuota_FullMethodName + const FileServer_Share_FullMethodName + const FileServer_ShowTrash_FullMethodName + const FileServer_TrashFile_FullMethodName + const FileServer_UnregisterClient_FullMethodName + const FileServer_Unshare_FullMethodName + const FileServer_UploadFile_FullMethodName + const FileServer_WriteFile_FullMethodName + var FileServer_ServiceDesc = grpc.ServiceDesc + var File_api_fileserver_fileserver_proto protoreflect.FileDescriptor + var InodeType_name = map[int32]string + var InodeType_value = map[string]int32 + func RegisterFileServerServer(s grpc.ServiceRegistrar, srv FileServerServer) + type ACL struct + ReadUsers []string + WriteUsers []string + func (*ACL) Descriptor() ([]byte, []int) + func (*ACL) ProtoMessage() + func (x *ACL) GetReadUsers() []string + func (x *ACL) GetWriteUsers() []string + func (x *ACL) ProtoReflect() protoreflect.Message + func (x *ACL) Reset() + func (x *ACL) String() string + type ChangeDirRequest struct + Fid *FID + Path string + RootFid *FID + func (*ChangeDirRequest) Descriptor() ([]byte, []int) + func (*ChangeDirRequest) ProtoMessage() + func (x *ChangeDirRequest) GetFid() *FID + func (x *ChangeDirRequest) GetPath() string + func (x *ChangeDirRequest) GetRootFid() *FID + func (x *ChangeDirRequest) ProtoReflect() protoreflect.Message + func (x *ChangeDirRequest) Reset() + func (x *ChangeDirRequest) String() string + type ChangeDirResponse struct + Error string + NewFid *FID + Success bool + func (*ChangeDirResponse) Descriptor() ([]byte, []int) + func (*ChangeDirResponse) ProtoMessage() + func (x *ChangeDirResponse) GetError() string + func (x *ChangeDirResponse) GetNewFid() *FID + func (x *ChangeDirResponse) GetSuccess() bool + func (x *ChangeDirResponse) ProtoReflect() protoreflect.Message + func (x *ChangeDirResponse) Reset() + func (x *ChangeDirResponse) String() string + type CloseFileRequest struct + ClientId string + Fid *FID + func (*CloseFileRequest) Descriptor() ([]byte, []int) + func (*CloseFileRequest) ProtoMessage() + func (x *CloseFileRequest) GetClientId() string + func (x *CloseFileRequest) GetFid() *FID + func (x *CloseFileRequest) ProtoReflect() protoreflect.Message + func (x *CloseFileRequest) Reset() + func (x *CloseFileRequest) String() string + type CloseFileResponse struct + Error string + Success bool + func (*CloseFileResponse) Descriptor() ([]byte, []int) + func (*CloseFileResponse) ProtoMessage() + func (x *CloseFileResponse) GetError() string + func (x *CloseFileResponse) GetSuccess() bool + func (x *CloseFileResponse) ProtoReflect() protoreflect.Message + func (x *CloseFileResponse) Reset() + func (x *CloseFileResponse) String() string + type CreateFileRequest struct + Fid *FID + Name string + RootUser string + Size uint64 + Type InodeType + func (*CreateFileRequest) Descriptor() ([]byte, []int) + func (*CreateFileRequest) ProtoMessage() + func (x *CreateFileRequest) GetFid() *FID + func (x *CreateFileRequest) GetName() string + func (x *CreateFileRequest) GetRootUser() string + func (x *CreateFileRequest) GetSize() uint64 + func (x *CreateFileRequest) GetType() InodeType + func (x *CreateFileRequest) ProtoReflect() protoreflect.Message + func (x *CreateFileRequest) Reset() + func (x *CreateFileRequest) String() string + type CreateFileResponse struct + Error string + Fid *FID + Success bool + func (*CreateFileResponse) Descriptor() ([]byte, []int) + func (*CreateFileResponse) ProtoMessage() + func (x *CreateFileResponse) GetError() string + func (x *CreateFileResponse) GetFid() *FID + func (x *CreateFileResponse) GetSuccess() bool + func (x *CreateFileResponse) ProtoReflect() protoreflect.Message + func (x *CreateFileResponse) Reset() + func (x *CreateFileResponse) String() string + type DeleteFileRequest struct + Fid *FID + Recursive bool + RootUser string + func (*DeleteFileRequest) Descriptor() ([]byte, []int) + func (*DeleteFileRequest) ProtoMessage() + func (x *DeleteFileRequest) GetFid() *FID + func (x *DeleteFileRequest) GetRecursive() bool + func (x *DeleteFileRequest) GetRootUser() string + func (x *DeleteFileRequest) ProtoReflect() protoreflect.Message + func (x *DeleteFileRequest) Reset() + func (x *DeleteFileRequest) String() string + type DeleteFileResponse struct + Error string + Success bool + func (*DeleteFileResponse) Descriptor() ([]byte, []int) + func (*DeleteFileResponse) ProtoMessage() + func (x *DeleteFileResponse) GetError() string + func (x *DeleteFileResponse) GetSuccess() bool + func (x *DeleteFileResponse) ProtoReflect() protoreflect.Message + func (x *DeleteFileResponse) Reset() + func (x *DeleteFileResponse) String() string + type DirEntry struct + Fid *FID + Name string + Size uint64 + Type InodeType + func (*DirEntry) Descriptor() ([]byte, []int) + func (*DirEntry) ProtoMessage() + func (x *DirEntry) GetFid() *FID + func (x *DirEntry) GetName() string + func (x *DirEntry) GetSize() uint64 + func (x *DirEntry) GetType() InodeType + func (x *DirEntry) ProtoReflect() protoreflect.Message + func (x *DirEntry) Reset() + func (x *DirEntry) String() string + type DownloadFileRequest struct + Name string + ParentFid *FID + func (*DownloadFileRequest) Descriptor() ([]byte, []int) + func (*DownloadFileRequest) ProtoMessage() + func (x *DownloadFileRequest) GetName() string + func (x *DownloadFileRequest) GetParentFid() *FID + func (x *DownloadFileRequest) ProtoReflect() protoreflect.Message + func (x *DownloadFileRequest) Reset() + func (x *DownloadFileRequest) String() string + type DownloadFileResponse struct + Chunk []byte + Error string + Offset uint64 + Success bool + func (*DownloadFileResponse) Descriptor() ([]byte, []int) + func (*DownloadFileResponse) ProtoMessage() + func (x *DownloadFileResponse) GetChunk() []byte + func (x *DownloadFileResponse) GetError() string + func (x *DownloadFileResponse) GetOffset() uint64 + func (x *DownloadFileResponse) GetSuccess() bool + func (x *DownloadFileResponse) ProtoReflect() protoreflect.Message + func (x *DownloadFileResponse) Reset() + func (x *DownloadFileResponse) String() string + type FID struct + FileServerId string + GenerationNumber uint64 + InodeId uint64 + func (*FID) Descriptor() ([]byte, []int) + func (*FID) ProtoMessage() + func (x *FID) GetFileServerId() string + func (x *FID) GetGenerationNumber() uint64 + func (x *FID) GetInodeId() uint64 + func (x *FID) ProtoReflect() protoreflect.Message + func (x *FID) Reset() + func (x *FID) String() string + type FileServerClient interface + ChangeDir func(ctx context.Context, in *ChangeDirRequest, opts ...grpc.CallOption) (*ChangeDirResponse, error) + CloseFile func(ctx context.Context, in *CloseFileRequest, opts ...grpc.CallOption) (*CloseFileResponse, error) + CreateFile func(ctx context.Context, in *CreateFileRequest, opts ...grpc.CallOption) (*CreateFileResponse, error) + DeleteFile func(ctx context.Context, in *DeleteFileRequest, opts ...grpc.CallOption) (*DeleteFileResponse, error) + DownloadFile func(ctx context.Context, in *DownloadFileRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[DownloadFileResponse], error) + GetAttr func(ctx context.Context, in *GetAttrRequest, opts ...grpc.CallOption) (*GetAttrResponse, error) + ListDir func(ctx context.Context, in *ListDirRequest, opts ...grpc.CallOption) (*ListDirResponse, error) + Lookup func(ctx context.Context, in *LookupRequest, opts ...grpc.CallOption) (*LookupResponse, error) + OpenFile func(ctx context.Context, in *OpenFileRequest, opts ...grpc.CallOption) (*OpenFileResponse, error) + Path func(ctx context.Context, in *PathRequest, opts ...grpc.CallOption) (*PathResponse, error) + ReadFile func(ctx context.Context, in *ReadFileRequest, opts ...grpc.CallOption) (*ReadFileResponse, error) + RegisterClient func(ctx context.Context, in *RegisterClientRequest, opts ...grpc.CallOption) (*RegisterClientResponse, error) + RestoreFile func(ctx context.Context, in *RestoreFileRequest, opts ...grpc.CallOption) (*RestoreFileResponse, error) + SetQuota func(ctx context.Context, in *SetQuotaRequest, opts ...grpc.CallOption) (*SetQuotaResponse, error) + Share func(ctx context.Context, in *ShareRequest, opts ...grpc.CallOption) (*ShareResponse, error) + ShowTrash func(ctx context.Context, in *ShowTrashRequest, opts ...grpc.CallOption) (*ShowTrashResponse, error) + TrashFile func(ctx context.Context, in *TrashFileRequest, opts ...grpc.CallOption) (*TrashFileResponse, error) + UnregisterClient func(ctx context.Context, in *UnregisterClientRequest, opts ...grpc.CallOption) (*UnregisterClientResponse, error) + Unshare func(ctx context.Context, in *UnshareRequest, opts ...grpc.CallOption) (*UnshareResponse, error) + UploadFile func(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[UploadFileRequest, UploadFileResponse], error) + WriteFile func(ctx context.Context, in *WriteFileRequest, opts ...grpc.CallOption) (*WriteFileResponse, error) + func NewFileServerClient(cc grpc.ClientConnInterface) FileServerClient + type FileServerServer interface + ChangeDir func(context.Context, *ChangeDirRequest) (*ChangeDirResponse, error) + CloseFile func(context.Context, *CloseFileRequest) (*CloseFileResponse, error) + CreateFile func(context.Context, *CreateFileRequest) (*CreateFileResponse, error) + DeleteFile func(context.Context, *DeleteFileRequest) (*DeleteFileResponse, error) + DownloadFile func(*DownloadFileRequest, grpc.ServerStreamingServer[DownloadFileResponse]) error + GetAttr func(context.Context, *GetAttrRequest) (*GetAttrResponse, error) + ListDir func(context.Context, *ListDirRequest) (*ListDirResponse, error) + Lookup func(context.Context, *LookupRequest) (*LookupResponse, error) + OpenFile func(context.Context, *OpenFileRequest) (*OpenFileResponse, error) + Path func(context.Context, *PathRequest) (*PathResponse, error) + ReadFile func(context.Context, *ReadFileRequest) (*ReadFileResponse, error) + RegisterClient func(context.Context, *RegisterClientRequest) (*RegisterClientResponse, error) + RestoreFile func(context.Context, *RestoreFileRequest) (*RestoreFileResponse, error) + SetQuota func(context.Context, *SetQuotaRequest) (*SetQuotaResponse, error) + Share func(context.Context, *ShareRequest) (*ShareResponse, error) + ShowTrash func(context.Context, *ShowTrashRequest) (*ShowTrashResponse, error) + TrashFile func(context.Context, *TrashFileRequest) (*TrashFileResponse, error) + UnregisterClient func(context.Context, *UnregisterClientRequest) (*UnregisterClientResponse, error) + Unshare func(context.Context, *UnshareRequest) (*UnshareResponse, error) + UploadFile func(grpc.ClientStreamingServer[UploadFileRequest, UploadFileResponse]) error + WriteFile func(context.Context, *WriteFileRequest) (*WriteFileResponse, error) + type FileServer_DownloadFileClient = grpc.ServerStreamingClient[DownloadFileResponse] + type FileServer_DownloadFileServer = grpc.ServerStreamingServer[DownloadFileResponse] + type FileServer_UploadFileClient = grpc.ClientStreamingClient[UploadFileRequest, UploadFileResponse] + type FileServer_UploadFileServer = grpc.ClientStreamingServer[UploadFileRequest, UploadFileResponse] + type GetAttrRequest struct + Fid *FID + func (*GetAttrRequest) Descriptor() ([]byte, []int) + func (*GetAttrRequest) ProtoMessage() + func (x *GetAttrRequest) GetFid() *FID + func (x *GetAttrRequest) ProtoReflect() protoreflect.Message + func (x *GetAttrRequest) Reset() + func (x *GetAttrRequest) String() string + type GetAttrResponse struct + Error string + Name string + Size uint64 + Success bool + Type InodeType + Version uint64 + func (*GetAttrResponse) Descriptor() ([]byte, []int) + func (*GetAttrResponse) ProtoMessage() + func (x *GetAttrResponse) GetError() string + func (x *GetAttrResponse) GetName() string + func (x *GetAttrResponse) GetSize() uint64 + func (x *GetAttrResponse) GetSuccess() bool + func (x *GetAttrResponse) GetType() InodeType + func (x *GetAttrResponse) GetVersion() uint64 + func (x *GetAttrResponse) ProtoReflect() protoreflect.Message + func (x *GetAttrResponse) Reset() + func (x *GetAttrResponse) String() string + type InodeType int32 + const InodeType_DIRECTORY + const InodeType_FILE + func (InodeType) Descriptor() protoreflect.EnumDescriptor + func (InodeType) EnumDescriptor() ([]byte, []int) + func (InodeType) Type() protoreflect.EnumType + func (x InodeType) Enum() *InodeType + func (x InodeType) Number() protoreflect.EnumNumber + func (x InodeType) String() string + type ListDirRequest struct + Fid *FID + func (*ListDirRequest) Descriptor() ([]byte, []int) + func (*ListDirRequest) ProtoMessage() + func (x *ListDirRequest) GetFid() *FID + func (x *ListDirRequest) ProtoReflect() protoreflect.Message + func (x *ListDirRequest) Reset() + func (x *ListDirRequest) String() string + type ListDirResponse struct + Entries []*DirEntry + Error string + Success bool + func (*ListDirResponse) Descriptor() ([]byte, []int) + func (*ListDirResponse) ProtoMessage() + func (x *ListDirResponse) GetEntries() []*DirEntry + func (x *ListDirResponse) GetError() string + func (x *ListDirResponse) GetSuccess() bool + func (x *ListDirResponse) ProtoReflect() protoreflect.Message + func (x *ListDirResponse) Reset() + func (x *ListDirResponse) String() string + type LookupRequest struct + Name string + ParentFid *FID + func (*LookupRequest) Descriptor() ([]byte, []int) + func (*LookupRequest) ProtoMessage() + func (x *LookupRequest) GetName() string + func (x *LookupRequest) GetParentFid() *FID + func (x *LookupRequest) ProtoReflect() protoreflect.Message + func (x *LookupRequest) Reset() + func (x *LookupRequest) String() string + type LookupResponse struct + Error string + Fid *FID + Success bool + func (*LookupResponse) Descriptor() ([]byte, []int) + func (*LookupResponse) ProtoMessage() + func (x *LookupResponse) GetError() string + func (x *LookupResponse) GetFid() *FID + func (x *LookupResponse) GetSuccess() bool + func (x *LookupResponse) ProtoReflect() protoreflect.Message + func (x *LookupResponse) Reset() + func (x *LookupResponse) String() string + type OpenFileRequest struct + ClientId string + Fid *FID + func (*OpenFileRequest) Descriptor() ([]byte, []int) + func (*OpenFileRequest) ProtoMessage() + func (x *OpenFileRequest) GetClientId() string + func (x *OpenFileRequest) GetFid() *FID + func (x *OpenFileRequest) ProtoReflect() protoreflect.Message + func (x *OpenFileRequest) Reset() + func (x *OpenFileRequest) String() string + type OpenFileResponse struct + Error string + FileSize uint64 + Success bool + Version uint64 + func (*OpenFileResponse) Descriptor() ([]byte, []int) + func (*OpenFileResponse) ProtoMessage() + func (x *OpenFileResponse) GetError() string + func (x *OpenFileResponse) GetFileSize() uint64 + func (x *OpenFileResponse) GetSuccess() bool + func (x *OpenFileResponse) GetVersion() uint64 + func (x *OpenFileResponse) ProtoReflect() protoreflect.Message + func (x *OpenFileResponse) Reset() + func (x *OpenFileResponse) String() string + type PathRequest struct + DisplayName string + Fid *FID + RootUser string + func (*PathRequest) Descriptor() ([]byte, []int) + func (*PathRequest) ProtoMessage() + func (x *PathRequest) GetDisplayName() string + func (x *PathRequest) GetFid() *FID + func (x *PathRequest) GetRootUser() string + func (x *PathRequest) ProtoReflect() protoreflect.Message + func (x *PathRequest) Reset() + func (x *PathRequest) String() string + type PathResponse struct + Error string + Path string + Success bool + func (*PathResponse) Descriptor() ([]byte, []int) + func (*PathResponse) ProtoMessage() + func (x *PathResponse) GetError() string + func (x *PathResponse) GetPath() string + func (x *PathResponse) GetSuccess() bool + func (x *PathResponse) ProtoReflect() protoreflect.Message + func (x *PathResponse) Reset() + func (x *PathResponse) String() string + type ReadFileRequest struct + Length uint64 + Name string + Offset uint64 + ParentFid *FID + func (*ReadFileRequest) Descriptor() ([]byte, []int) + func (*ReadFileRequest) ProtoMessage() + func (x *ReadFileRequest) GetLength() uint64 + func (x *ReadFileRequest) GetName() string + func (x *ReadFileRequest) GetOffset() uint64 + func (x *ReadFileRequest) GetParentFid() *FID + func (x *ReadFileRequest) ProtoReflect() protoreflect.Message + func (x *ReadFileRequest) Reset() + func (x *ReadFileRequest) String() string + type ReadFileResponse struct + Data []byte + Error string + Success bool + func (*ReadFileResponse) Descriptor() ([]byte, []int) + func (*ReadFileResponse) ProtoMessage() + func (x *ReadFileResponse) GetData() []byte + func (x *ReadFileResponse) GetError() string + func (x *ReadFileResponse) GetSuccess() bool + func (x *ReadFileResponse) ProtoReflect() protoreflect.Message + func (x *ReadFileResponse) Reset() + func (x *ReadFileResponse) String() string + type RegisterClientRequest struct + CallbackAddress string + ClientId string + RootPath string + RootUser string + Username string + func (*RegisterClientRequest) Descriptor() ([]byte, []int) + func (*RegisterClientRequest) ProtoMessage() + func (x *RegisterClientRequest) GetCallbackAddress() string + func (x *RegisterClientRequest) GetClientId() string + func (x *RegisterClientRequest) GetRootPath() string + func (x *RegisterClientRequest) GetRootUser() string + func (x *RegisterClientRequest) GetUsername() string + func (x *RegisterClientRequest) ProtoReflect() protoreflect.Message + func (x *RegisterClientRequest) Reset() + func (x *RegisterClientRequest) String() string + type RegisterClientResponse struct + Error string + Success bool + UserRootFid *FID + func (*RegisterClientResponse) Descriptor() ([]byte, []int) + func (*RegisterClientResponse) ProtoMessage() + func (x *RegisterClientResponse) GetError() string + func (x *RegisterClientResponse) GetSuccess() bool + func (x *RegisterClientResponse) GetUserRootFid() *FID + func (x *RegisterClientResponse) ProtoReflect() protoreflect.Message + func (x *RegisterClientResponse) Reset() + func (x *RegisterClientResponse) String() string + type RestoreFileRequest struct + Fid *FID + RootUser string + Username string + func (*RestoreFileRequest) Descriptor() ([]byte, []int) + func (*RestoreFileRequest) ProtoMessage() + func (x *RestoreFileRequest) GetFid() *FID + func (x *RestoreFileRequest) GetRootUser() string + func (x *RestoreFileRequest) GetUsername() string + func (x *RestoreFileRequest) ProtoReflect() protoreflect.Message + func (x *RestoreFileRequest) Reset() + func (x *RestoreFileRequest) String() string + type RestoreFileResponse struct + Error string + RestoredName string + Success bool + func (*RestoreFileResponse) Descriptor() ([]byte, []int) + func (*RestoreFileResponse) ProtoMessage() + func (x *RestoreFileResponse) GetError() string + func (x *RestoreFileResponse) GetRestoredName() string + func (x *RestoreFileResponse) GetSuccess() bool + func (x *RestoreFileResponse) ProtoReflect() protoreflect.Message + func (x *RestoreFileResponse) Reset() + func (x *RestoreFileResponse) String() string + type SetQuotaRequest struct + QuotaBytes uint64 + Username string + func (*SetQuotaRequest) Descriptor() ([]byte, []int) + func (*SetQuotaRequest) ProtoMessage() + func (x *SetQuotaRequest) GetQuotaBytes() uint64 + func (x *SetQuotaRequest) GetUsername() string + func (x *SetQuotaRequest) ProtoReflect() protoreflect.Message + func (x *SetQuotaRequest) Reset() + func (x *SetQuotaRequest) String() string + type SetQuotaResponse struct + Error string + Success bool + func (*SetQuotaResponse) Descriptor() ([]byte, []int) + func (*SetQuotaResponse) ProtoMessage() + func (x *SetQuotaResponse) GetError() string + func (x *SetQuotaResponse) GetSuccess() bool + func (x *SetQuotaResponse) ProtoReflect() protoreflect.Message + func (x *SetQuotaResponse) Reset() + func (x *SetQuotaResponse) String() string + type ShareRequest struct + Fid *FID + ShareWith string + Username string + func (*ShareRequest) Descriptor() ([]byte, []int) + func (*ShareRequest) ProtoMessage() + func (x *ShareRequest) GetFid() *FID + func (x *ShareRequest) GetShareWith() string + func (x *ShareRequest) GetUsername() string + func (x *ShareRequest) ProtoReflect() protoreflect.Message + func (x *ShareRequest) Reset() + func (x *ShareRequest) String() string + type ShareResponse struct + Error string + Success bool + func (*ShareResponse) Descriptor() ([]byte, []int) + func (*ShareResponse) ProtoMessage() + func (x *ShareResponse) GetError() string + func (x *ShareResponse) GetSuccess() bool + func (x *ShareResponse) ProtoReflect() protoreflect.Message + func (x *ShareResponse) Reset() + func (x *ShareResponse) String() string + type ShowTrashRequest struct + RootUser string + Username string + func (*ShowTrashRequest) Descriptor() ([]byte, []int) + func (*ShowTrashRequest) ProtoMessage() + func (x *ShowTrashRequest) GetRootUser() string + func (x *ShowTrashRequest) GetUsername() string + func (x *ShowTrashRequest) ProtoReflect() protoreflect.Message + func (x *ShowTrashRequest) Reset() + func (x *ShowTrashRequest) String() string + type ShowTrashResponse struct + Entries []*DirEntry + Error string + Success bool + func (*ShowTrashResponse) Descriptor() ([]byte, []int) + func (*ShowTrashResponse) ProtoMessage() + func (x *ShowTrashResponse) GetEntries() []*DirEntry + func (x *ShowTrashResponse) GetError() string + func (x *ShowTrashResponse) GetSuccess() bool + func (x *ShowTrashResponse) ProtoReflect() protoreflect.Message + func (x *ShowTrashResponse) Reset() + func (x *ShowTrashResponse) String() string + type TrashFileRequest struct + Fid *FID + Recursive bool + RootUser string + func (*TrashFileRequest) Descriptor() ([]byte, []int) + func (*TrashFileRequest) ProtoMessage() + func (x *TrashFileRequest) GetFid() *FID + func (x *TrashFileRequest) GetRecursive() bool + func (x *TrashFileRequest) GetRootUser() string + func (x *TrashFileRequest) ProtoReflect() protoreflect.Message + func (x *TrashFileRequest) Reset() + func (x *TrashFileRequest) String() string + type TrashFileResponse struct + Error string + Success bool + TrashedName string + func (*TrashFileResponse) Descriptor() ([]byte, []int) + func (*TrashFileResponse) ProtoMessage() + func (x *TrashFileResponse) GetError() string + func (x *TrashFileResponse) GetSuccess() bool + func (x *TrashFileResponse) GetTrashedName() string + func (x *TrashFileResponse) ProtoReflect() protoreflect.Message + func (x *TrashFileResponse) Reset() + func (x *TrashFileResponse) String() string + type UnimplementedFileServerServer struct + func (UnimplementedFileServerServer) ChangeDir(context.Context, *ChangeDirRequest) (*ChangeDirResponse, error) + func (UnimplementedFileServerServer) CloseFile(context.Context, *CloseFileRequest) (*CloseFileResponse, error) + func (UnimplementedFileServerServer) CreateFile(context.Context, *CreateFileRequest) (*CreateFileResponse, error) + func (UnimplementedFileServerServer) DeleteFile(context.Context, *DeleteFileRequest) (*DeleteFileResponse, error) + func (UnimplementedFileServerServer) DownloadFile(*DownloadFileRequest, grpc.ServerStreamingServer[DownloadFileResponse]) error + func (UnimplementedFileServerServer) GetAttr(context.Context, *GetAttrRequest) (*GetAttrResponse, error) + func (UnimplementedFileServerServer) ListDir(context.Context, *ListDirRequest) (*ListDirResponse, error) + func (UnimplementedFileServerServer) Lookup(context.Context, *LookupRequest) (*LookupResponse, error) + func (UnimplementedFileServerServer) OpenFile(context.Context, *OpenFileRequest) (*OpenFileResponse, error) + func (UnimplementedFileServerServer) Path(context.Context, *PathRequest) (*PathResponse, error) + func (UnimplementedFileServerServer) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error) + func (UnimplementedFileServerServer) RegisterClient(context.Context, *RegisterClientRequest) (*RegisterClientResponse, error) + func (UnimplementedFileServerServer) RestoreFile(context.Context, *RestoreFileRequest) (*RestoreFileResponse, error) + func (UnimplementedFileServerServer) SetQuota(context.Context, *SetQuotaRequest) (*SetQuotaResponse, error) + func (UnimplementedFileServerServer) Share(context.Context, *ShareRequest) (*ShareResponse, error) + func (UnimplementedFileServerServer) ShowTrash(context.Context, *ShowTrashRequest) (*ShowTrashResponse, error) + func (UnimplementedFileServerServer) TrashFile(context.Context, *TrashFileRequest) (*TrashFileResponse, error) + func (UnimplementedFileServerServer) UnregisterClient(context.Context, *UnregisterClientRequest) (*UnregisterClientResponse, error) + func (UnimplementedFileServerServer) Unshare(context.Context, *UnshareRequest) (*UnshareResponse, error) + func (UnimplementedFileServerServer) UploadFile(grpc.ClientStreamingServer[UploadFileRequest, UploadFileResponse]) error + func (UnimplementedFileServerServer) WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error) + type UnregisterClientRequest struct + ClientId string + Username string + func (*UnregisterClientRequest) Descriptor() ([]byte, []int) + func (*UnregisterClientRequest) ProtoMessage() + func (x *UnregisterClientRequest) GetClientId() string + func (x *UnregisterClientRequest) GetUsername() string + func (x *UnregisterClientRequest) ProtoReflect() protoreflect.Message + func (x *UnregisterClientRequest) Reset() + func (x *UnregisterClientRequest) String() string + type UnregisterClientResponse struct + Error string + Success bool + func (*UnregisterClientResponse) Descriptor() ([]byte, []int) + func (*UnregisterClientResponse) ProtoMessage() + func (x *UnregisterClientResponse) GetError() string + func (x *UnregisterClientResponse) GetSuccess() bool + func (x *UnregisterClientResponse) ProtoReflect() protoreflect.Message + func (x *UnregisterClientResponse) Reset() + func (x *UnregisterClientResponse) String() string + type UnsafeFileServerServer interface + type UnshareRequest struct + Fid *FID + UnshareWith string + Username string + func (*UnshareRequest) Descriptor() ([]byte, []int) + func (*UnshareRequest) ProtoMessage() + func (x *UnshareRequest) GetFid() *FID + func (x *UnshareRequest) GetUnshareWith() string + func (x *UnshareRequest) GetUsername() string + func (x *UnshareRequest) ProtoReflect() protoreflect.Message + func (x *UnshareRequest) Reset() + func (x *UnshareRequest) String() string + type UnshareResponse struct + Error string + Success bool + func (*UnshareResponse) Descriptor() ([]byte, []int) + func (*UnshareResponse) ProtoMessage() + func (x *UnshareResponse) GetError() string + func (x *UnshareResponse) GetSuccess() bool + func (x *UnshareResponse) ProtoReflect() protoreflect.Message + func (x *UnshareResponse) Reset() + func (x *UnshareResponse) String() string + type UploadFileRequest struct + Chunk []byte + Name string + Offset uint64 + ParentFid *FID + User string + func (*UploadFileRequest) Descriptor() ([]byte, []int) + func (*UploadFileRequest) ProtoMessage() + func (x *UploadFileRequest) GetChunk() []byte + func (x *UploadFileRequest) GetName() string + func (x *UploadFileRequest) GetOffset() uint64 + func (x *UploadFileRequest) GetParentFid() *FID + func (x *UploadFileRequest) GetUser() string + func (x *UploadFileRequest) ProtoReflect() protoreflect.Message + func (x *UploadFileRequest) Reset() + func (x *UploadFileRequest) String() string + type UploadFileResponse struct + Error string + Success bool + func (*UploadFileResponse) Descriptor() ([]byte, []int) + func (*UploadFileResponse) ProtoMessage() + func (x *UploadFileResponse) GetError() string + func (x *UploadFileResponse) GetSuccess() bool + func (x *UploadFileResponse) ProtoReflect() protoreflect.Message + func (x *UploadFileResponse) Reset() + func (x *UploadFileResponse) String() string + type WriteFileRequest struct + Data []byte + Name string + Offset uint64 + ParentFid *FID + func (*WriteFileRequest) Descriptor() ([]byte, []int) + func (*WriteFileRequest) ProtoMessage() + func (x *WriteFileRequest) GetData() []byte + func (x *WriteFileRequest) GetName() string + func (x *WriteFileRequest) GetOffset() uint64 + func (x *WriteFileRequest) GetParentFid() *FID + func (x *WriteFileRequest) ProtoReflect() protoreflect.Message + func (x *WriteFileRequest) Reset() + func (x *WriteFileRequest) String() string + type WriteFileResponse struct + Error string + Success bool + Version uint64 + func (*WriteFileResponse) Descriptor() ([]byte, []int) + func (*WriteFileResponse) ProtoMessage() + func (x *WriteFileResponse) GetError() string + func (x *WriteFileResponse) GetSuccess() bool + func (x *WriteFileResponse) GetVersion() uint64 + func (x *WriteFileResponse) ProtoReflect() protoreflect.Message + func (x *WriteFileResponse) Reset() + func (x *WriteFileResponse) String() string