Versions in this module Expand all Collapse all v4 v4.25.2 Apr 26, 2024 v4.25.1 Apr 26, 2024 v4.24.3 Apr 26, 2024 Changes in this version + const File_Delete_FullMethodName + const File_DiskInfo_FullMethodName + const File_List_FullMethodName + const File_MaxUploadSize_FullMethodName + const File_ShowRecords_FullMethodName + var File_ServiceDesc = grpc.ServiceDesc + var File_file_file_proto protoreflect.FileDescriptor + func RegisterFileHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterFileHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FileClient) error + func RegisterFileHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterFileHandlerServer(ctx context.Context, mux *runtime.ServeMux, server FileServer) error + func RegisterFileServer(s grpc.ServiceRegistrar, srv FileServer) + type DeleteRequest struct + Id int64 + func (*DeleteRequest) Descriptor() ([]byte, []int) + func (*DeleteRequest) ProtoMessage() + func (m *DeleteRequest) Validate() error + func (m *DeleteRequest) ValidateAll() error + func (x *DeleteRequest) GetId() int64 + func (x *DeleteRequest) ProtoReflect() protoreflect.Message + func (x *DeleteRequest) Reset() + func (x *DeleteRequest) String() string + type DeleteRequestMultiError []error + func (m DeleteRequestMultiError) AllErrors() []error + func (m DeleteRequestMultiError) Error() string + type DeleteRequestValidationError struct + func (e DeleteRequestValidationError) Cause() error + func (e DeleteRequestValidationError) Error() string + func (e DeleteRequestValidationError) ErrorName() string + func (e DeleteRequestValidationError) Field() string + func (e DeleteRequestValidationError) Key() bool + func (e DeleteRequestValidationError) Reason() string + type DeleteResponse struct + func (*DeleteResponse) Descriptor() ([]byte, []int) + func (*DeleteResponse) ProtoMessage() + func (m *DeleteResponse) Validate() error + func (m *DeleteResponse) ValidateAll() error + func (x *DeleteResponse) ProtoReflect() protoreflect.Message + func (x *DeleteResponse) Reset() + func (x *DeleteResponse) String() string + type DeleteResponseMultiError []error + func (m DeleteResponseMultiError) AllErrors() []error + func (m DeleteResponseMultiError) Error() string + type DeleteResponseValidationError struct + func (e DeleteResponseValidationError) Cause() error + func (e DeleteResponseValidationError) Error() string + func (e DeleteResponseValidationError) ErrorName() string + func (e DeleteResponseValidationError) Field() string + func (e DeleteResponseValidationError) Key() bool + func (e DeleteResponseValidationError) Reason() string + type DiskInfoRequest struct + func (*DiskInfoRequest) Descriptor() ([]byte, []int) + func (*DiskInfoRequest) ProtoMessage() + func (m *DiskInfoRequest) Validate() error + func (m *DiskInfoRequest) ValidateAll() error + func (x *DiskInfoRequest) ProtoReflect() protoreflect.Message + func (x *DiskInfoRequest) Reset() + func (x *DiskInfoRequest) String() string + type DiskInfoRequestMultiError []error + func (m DiskInfoRequestMultiError) AllErrors() []error + func (m DiskInfoRequestMultiError) Error() string + type DiskInfoRequestValidationError struct + func (e DiskInfoRequestValidationError) Cause() error + func (e DiskInfoRequestValidationError) Error() string + func (e DiskInfoRequestValidationError) ErrorName() string + func (e DiskInfoRequestValidationError) Field() string + func (e DiskInfoRequestValidationError) Key() bool + func (e DiskInfoRequestValidationError) Reason() string + type DiskInfoResponse struct + HumanizeUsage string + Usage int64 + func (*DiskInfoResponse) Descriptor() ([]byte, []int) + func (*DiskInfoResponse) ProtoMessage() + func (m *DiskInfoResponse) Validate() error + func (m *DiskInfoResponse) ValidateAll() error + func (x *DiskInfoResponse) GetHumanizeUsage() string + func (x *DiskInfoResponse) GetUsage() int64 + func (x *DiskInfoResponse) ProtoReflect() protoreflect.Message + func (x *DiskInfoResponse) Reset() + func (x *DiskInfoResponse) String() string + type DiskInfoResponseMultiError []error + func (m DiskInfoResponseMultiError) AllErrors() []error + func (m DiskInfoResponseMultiError) Error() string + type DiskInfoResponseValidationError struct + func (e DiskInfoResponseValidationError) Cause() error + func (e DiskInfoResponseValidationError) Error() string + func (e DiskInfoResponseValidationError) ErrorName() string + func (e DiskInfoResponseValidationError) Field() string + func (e DiskInfoResponseValidationError) Key() bool + func (e DiskInfoResponseValidationError) Reason() string + type FileClient interface + Delete func(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) + DiskInfo func(ctx context.Context, in *DiskInfoRequest, opts ...grpc.CallOption) (*DiskInfoResponse, error) + List func(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) + MaxUploadSize func(ctx context.Context, in *MaxUploadSizeRequest, opts ...grpc.CallOption) (*MaxUploadSizeResponse, error) + ShowRecords func(ctx context.Context, in *ShowRecordsRequest, opts ...grpc.CallOption) (*ShowRecordsResponse, error) + func NewFileClient(cc grpc.ClientConnInterface) FileClient + type FileServer interface + Delete func(context.Context, *DeleteRequest) (*DeleteResponse, error) + DiskInfo func(context.Context, *DiskInfoRequest) (*DiskInfoResponse, error) + List func(context.Context, *ListRequest) (*ListResponse, error) + MaxUploadSize func(context.Context, *MaxUploadSizeRequest) (*MaxUploadSizeResponse, error) + ShowRecords func(context.Context, *ShowRecordsRequest) (*ShowRecordsResponse, error) + type ListRequest struct + Page int64 + PageSize int64 + WithoutDeleted bool + func (*ListRequest) Descriptor() ([]byte, []int) + func (*ListRequest) ProtoMessage() + func (m *ListRequest) Validate() error + func (m *ListRequest) ValidateAll() error + func (x *ListRequest) GetPage() int64 + func (x *ListRequest) GetPageSize() int64 + func (x *ListRequest) GetWithoutDeleted() bool + func (x *ListRequest) ProtoReflect() protoreflect.Message + func (x *ListRequest) Reset() + func (x *ListRequest) String() string + type ListRequestMultiError []error + func (m ListRequestMultiError) AllErrors() []error + func (m ListRequestMultiError) Error() string + type ListRequestValidationError struct + func (e ListRequestValidationError) Cause() error + func (e ListRequestValidationError) Error() string + func (e ListRequestValidationError) ErrorName() string + func (e ListRequestValidationError) Field() string + func (e ListRequestValidationError) Key() bool + func (e ListRequestValidationError) Reason() string + type ListResponse struct + Count int64 + Items []*types.FileModel + Page int64 + PageSize int64 + func (*ListResponse) Descriptor() ([]byte, []int) + func (*ListResponse) ProtoMessage() + func (m *ListResponse) Validate() error + func (m *ListResponse) ValidateAll() error + func (x *ListResponse) GetCount() int64 + func (x *ListResponse) GetItems() []*types.FileModel + func (x *ListResponse) GetPage() int64 + func (x *ListResponse) GetPageSize() int64 + func (x *ListResponse) ProtoReflect() protoreflect.Message + func (x *ListResponse) Reset() + func (x *ListResponse) String() string + type ListResponseMultiError []error + func (m ListResponseMultiError) AllErrors() []error + func (m ListResponseMultiError) Error() string + type ListResponseValidationError struct + func (e ListResponseValidationError) Cause() error + func (e ListResponseValidationError) Error() string + func (e ListResponseValidationError) ErrorName() string + func (e ListResponseValidationError) Field() string + func (e ListResponseValidationError) Key() bool + func (e ListResponseValidationError) Reason() string + type MaxUploadSizeRequest struct + func (*MaxUploadSizeRequest) Descriptor() ([]byte, []int) + func (*MaxUploadSizeRequest) ProtoMessage() + func (m *MaxUploadSizeRequest) Validate() error + func (m *MaxUploadSizeRequest) ValidateAll() error + func (x *MaxUploadSizeRequest) ProtoReflect() protoreflect.Message + func (x *MaxUploadSizeRequest) Reset() + func (x *MaxUploadSizeRequest) String() string + type MaxUploadSizeRequestMultiError []error + func (m MaxUploadSizeRequestMultiError) AllErrors() []error + func (m MaxUploadSizeRequestMultiError) Error() string + type MaxUploadSizeRequestValidationError struct + func (e MaxUploadSizeRequestValidationError) Cause() error + func (e MaxUploadSizeRequestValidationError) Error() string + func (e MaxUploadSizeRequestValidationError) ErrorName() string + func (e MaxUploadSizeRequestValidationError) Field() string + func (e MaxUploadSizeRequestValidationError) Key() bool + func (e MaxUploadSizeRequestValidationError) Reason() string + type MaxUploadSizeResponse struct + Bytes uint64 + HumanizeSize string + func (*MaxUploadSizeResponse) Descriptor() ([]byte, []int) + func (*MaxUploadSizeResponse) ProtoMessage() + func (m *MaxUploadSizeResponse) Validate() error + func (m *MaxUploadSizeResponse) ValidateAll() error + func (x *MaxUploadSizeResponse) GetBytes() uint64 + func (x *MaxUploadSizeResponse) GetHumanizeSize() string + func (x *MaxUploadSizeResponse) ProtoReflect() protoreflect.Message + func (x *MaxUploadSizeResponse) Reset() + func (x *MaxUploadSizeResponse) String() string + type MaxUploadSizeResponseMultiError []error + func (m MaxUploadSizeResponseMultiError) AllErrors() []error + func (m MaxUploadSizeResponseMultiError) Error() string + type MaxUploadSizeResponseValidationError struct + func (e MaxUploadSizeResponseValidationError) Cause() error + func (e MaxUploadSizeResponseValidationError) Error() string + func (e MaxUploadSizeResponseValidationError) ErrorName() string + func (e MaxUploadSizeResponseValidationError) Field() string + func (e MaxUploadSizeResponseValidationError) Key() bool + func (e MaxUploadSizeResponseValidationError) Reason() string + type ShowRecordsRequest struct + Id int64 + func (*ShowRecordsRequest) Descriptor() ([]byte, []int) + func (*ShowRecordsRequest) ProtoMessage() + func (m *ShowRecordsRequest) Validate() error + func (m *ShowRecordsRequest) ValidateAll() error + func (x *ShowRecordsRequest) GetId() int64 + func (x *ShowRecordsRequest) ProtoReflect() protoreflect.Message + func (x *ShowRecordsRequest) Reset() + func (x *ShowRecordsRequest) String() string + type ShowRecordsRequestMultiError []error + func (m ShowRecordsRequestMultiError) AllErrors() []error + func (m ShowRecordsRequestMultiError) Error() string + type ShowRecordsRequestValidationError struct + func (e ShowRecordsRequestValidationError) Cause() error + func (e ShowRecordsRequestValidationError) Error() string + func (e ShowRecordsRequestValidationError) ErrorName() string + func (e ShowRecordsRequestValidationError) Field() string + func (e ShowRecordsRequestValidationError) Key() bool + func (e ShowRecordsRequestValidationError) Reason() string + type ShowRecordsResponse struct + Items []string + func (*ShowRecordsResponse) Descriptor() ([]byte, []int) + func (*ShowRecordsResponse) ProtoMessage() + func (m *ShowRecordsResponse) Validate() error + func (m *ShowRecordsResponse) ValidateAll() error + func (x *ShowRecordsResponse) GetItems() []string + func (x *ShowRecordsResponse) ProtoReflect() protoreflect.Message + func (x *ShowRecordsResponse) Reset() + func (x *ShowRecordsResponse) String() string + type ShowRecordsResponseMultiError []error + func (m ShowRecordsResponseMultiError) AllErrors() []error + func (m ShowRecordsResponseMultiError) Error() string + type ShowRecordsResponseValidationError struct + func (e ShowRecordsResponseValidationError) Cause() error + func (e ShowRecordsResponseValidationError) Error() string + func (e ShowRecordsResponseValidationError) ErrorName() string + func (e ShowRecordsResponseValidationError) Field() string + func (e ShowRecordsResponseValidationError) Key() bool + func (e ShowRecordsResponseValidationError) Reason() string + type UnimplementedFileServer struct + func (UnimplementedFileServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) + func (UnimplementedFileServer) DiskInfo(context.Context, *DiskInfoRequest) (*DiskInfoResponse, error) + func (UnimplementedFileServer) List(context.Context, *ListRequest) (*ListResponse, error) + func (UnimplementedFileServer) MaxUploadSize(context.Context, *MaxUploadSizeRequest) (*MaxUploadSizeResponse, error) + func (UnimplementedFileServer) ShowRecords(context.Context, *ShowRecordsRequest) (*ShowRecordsResponse, error) + type UnsafeFileServer interface