Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterServiceHTTPServer(s *http.Server, srv ServiceHTTPServer)
- func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
- type AddDirectoryRequest
- func (*AddDirectoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddDirectoryRequest) GetApp() string
- func (x *AddDirectoryRequest) GetName() string
- func (x *AddDirectoryRequest) GetParentId() uint32
- func (*AddDirectoryRequest) ProtoMessage()
- func (x *AddDirectoryRequest) ProtoReflect() protoreflect.Message
- func (x *AddDirectoryRequest) Reset()
- func (x *AddDirectoryRequest) String() string
- func (m *AddDirectoryRequest) Validate() error
- func (m *AddDirectoryRequest) ValidateAll() error
- type AddDirectoryRequestMultiError
- type AddDirectoryRequestValidationError
- func (e AddDirectoryRequestValidationError) Cause() error
- func (e AddDirectoryRequestValidationError) Error() string
- func (e AddDirectoryRequestValidationError) ErrorName() string
- func (e AddDirectoryRequestValidationError) Field() string
- func (e AddDirectoryRequestValidationError) Key() bool
- func (e AddDirectoryRequestValidationError) Reason() string
- type AllDirectoryReply
- func (*AllDirectoryReply) Descriptor() ([]byte, []int)deprecated
- func (x *AllDirectoryReply) GetList() []*Directory
- func (*AllDirectoryReply) ProtoMessage()
- func (x *AllDirectoryReply) ProtoReflect() protoreflect.Message
- func (x *AllDirectoryReply) Reset()
- func (x *AllDirectoryReply) String() string
- func (m *AllDirectoryReply) Validate() error
- func (m *AllDirectoryReply) ValidateAll() error
- type AllDirectoryReplyMultiError
- type AllDirectoryReplyValidationError
- func (e AllDirectoryReplyValidationError) Cause() error
- func (e AllDirectoryReplyValidationError) Error() string
- func (e AllDirectoryReplyValidationError) ErrorName() string
- func (e AllDirectoryReplyValidationError) Field() string
- func (e AllDirectoryReplyValidationError) Key() bool
- func (e AllDirectoryReplyValidationError) Reason() string
- type AllDirectoryRequest
- func (*AllDirectoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AllDirectoryRequest) GetApp() string
- func (x *AllDirectoryRequest) GetParentId() uint32
- func (*AllDirectoryRequest) ProtoMessage()
- func (x *AllDirectoryRequest) ProtoReflect() protoreflect.Message
- func (x *AllDirectoryRequest) Reset()
- func (x *AllDirectoryRequest) String() string
- func (m *AllDirectoryRequest) Validate() error
- func (m *AllDirectoryRequest) ValidateAll() error
- type AllDirectoryRequestMultiError
- type AllDirectoryRequestValidationError
- func (e AllDirectoryRequestValidationError) Cause() error
- func (e AllDirectoryRequestValidationError) Error() string
- func (e AllDirectoryRequestValidationError) ErrorName() string
- func (e AllDirectoryRequestValidationError) Field() string
- func (e AllDirectoryRequestValidationError) Key() bool
- func (e AllDirectoryRequestValidationError) Reason() string
- type DeleteDirectoryRequest
- func (*DeleteDirectoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDirectoryRequest) GetApp() string
- func (x *DeleteDirectoryRequest) GetId() uint32
- func (*DeleteDirectoryRequest) ProtoMessage()
- func (x *DeleteDirectoryRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDirectoryRequest) Reset()
- func (x *DeleteDirectoryRequest) String() string
- func (m *DeleteDirectoryRequest) Validate() error
- func (m *DeleteDirectoryRequest) ValidateAll() error
- type DeleteDirectoryRequestMultiError
- type DeleteDirectoryRequestValidationError
- func (e DeleteDirectoryRequestValidationError) Cause() error
- func (e DeleteDirectoryRequestValidationError) Error() string
- func (e DeleteDirectoryRequestValidationError) ErrorName() string
- func (e DeleteDirectoryRequestValidationError) Field() string
- func (e DeleteDirectoryRequestValidationError) Key() bool
- func (e DeleteDirectoryRequestValidationError) Reason() string
- type DeleteFileRequest
- func (*DeleteFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFileRequest) GetApp() string
- func (x *DeleteFileRequest) GetDirectoryId() uint32
- func (x *DeleteFileRequest) GetIds() []uint32
- func (*DeleteFileRequest) ProtoMessage()
- func (x *DeleteFileRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFileRequest) Reset()
- func (x *DeleteFileRequest) String() string
- func (m *DeleteFileRequest) Validate() error
- func (m *DeleteFileRequest) ValidateAll() error
- type DeleteFileRequestMultiError
- type DeleteFileRequestValidationError
- func (e DeleteFileRequestValidationError) Cause() error
- func (e DeleteFileRequestValidationError) Error() string
- func (e DeleteFileRequestValidationError) ErrorName() string
- func (e DeleteFileRequestValidationError) Field() string
- func (e DeleteFileRequestValidationError) Key() bool
- func (e DeleteFileRequestValidationError) Reason() string
- type Directory
- func (*Directory) Descriptor() ([]byte, []int)deprecated
- func (x *Directory) GetApp() string
- func (x *Directory) GetCreatedAt() uint32
- func (x *Directory) GetId() uint32
- func (x *Directory) GetName() string
- func (x *Directory) GetParentId() uint32
- func (x *Directory) GetUpdatedAt() uint32
- func (*Directory) ProtoMessage()
- func (x *Directory) ProtoReflect() protoreflect.Message
- func (x *Directory) Reset()
- func (x *Directory) String() string
- func (m *Directory) Validate() error
- func (m *Directory) ValidateAll() error
- type DirectoryMultiError
- type DirectoryValidationError
- type File
- func (*File) Descriptor() ([]byte, []int)deprecated
- func (x *File) GetCreatedAt() uint32
- func (x *File) GetDirectoryId() uint32
- func (x *File) GetId() uint32
- func (x *File) GetName() string
- func (x *File) GetSha() string
- func (x *File) GetSize() uint32
- func (x *File) GetSrc() string
- func (x *File) GetStorage() string
- func (x *File) GetType() string
- func (*File) ProtoMessage()
- func (x *File) ProtoReflect() protoreflect.Message
- func (x *File) Reset()
- func (x *File) String() string
- func (m *File) Validate() error
- func (m *File) ValidateAll() error
- type FileMultiError
- type FileValidationError
- type GetFileByShaRequest
- func (*GetFileByShaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileByShaRequest) GetSha() string
- func (*GetFileByShaRequest) ProtoMessage()
- func (x *GetFileByShaRequest) ProtoReflect() protoreflect.Message
- func (x *GetFileByShaRequest) Reset()
- func (x *GetFileByShaRequest) String() string
- func (m *GetFileByShaRequest) Validate() error
- func (m *GetFileByShaRequest) ValidateAll() error
- type GetFileByShaRequestMultiError
- type GetFileByShaRequestValidationError
- func (e GetFileByShaRequestValidationError) Cause() error
- func (e GetFileByShaRequestValidationError) Error() string
- func (e GetFileByShaRequestValidationError) ErrorName() string
- func (e GetFileByShaRequestValidationError) Field() string
- func (e GetFileByShaRequestValidationError) Key() bool
- func (e GetFileByShaRequestValidationError) Reason() string
- type GetFileReply
- func (*GetFileReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileReply) GetData() []byte
- func (x *GetFileReply) GetMime() string
- func (*GetFileReply) ProtoMessage()
- func (x *GetFileReply) ProtoReflect() protoreflect.Message
- func (x *GetFileReply) Reset()
- func (x *GetFileReply) String() string
- func (m *GetFileReply) Validate() error
- func (m *GetFileReply) ValidateAll() error
- type GetFileReplyMultiError
- type GetFileReplyValidationError
- func (e GetFileReplyValidationError) Cause() error
- func (e GetFileReplyValidationError) Error() string
- func (e GetFileReplyValidationError) ErrorName() string
- func (e GetFileReplyValidationError) Field() string
- func (e GetFileReplyValidationError) Key() bool
- func (e GetFileReplyValidationError) Reason() string
- type GetFileRequest
- func (*GetFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileRequest) GetDownload() bool
- func (x *GetFileRequest) GetEnd() uint32
- func (x *GetFileRequest) GetHeight() uint32
- func (x *GetFileRequest) GetIsRange() bool
- func (x *GetFileRequest) GetMode() string
- func (x *GetFileRequest) GetSaveName() string
- func (x *GetFileRequest) GetSrc() string
- func (x *GetFileRequest) GetStart() uint32
- func (x *GetFileRequest) GetWidth() uint32
- func (*GetFileRequest) ProtoMessage()
- func (x *GetFileRequest) ProtoReflect() protoreflect.Message
- func (x *GetFileRequest) Reset()
- func (x *GetFileRequest) String() string
- func (m *GetFileRequest) Validate() error
- func (m *GetFileRequest) ValidateAll() error
- type GetFileRequestMultiError
- type GetFileRequestValidationError
- func (e GetFileRequestValidationError) Cause() error
- func (e GetFileRequestValidationError) Error() string
- func (e GetFileRequestValidationError) ErrorName() string
- func (e GetFileRequestValidationError) Field() string
- func (e GetFileRequestValidationError) Key() bool
- func (e GetFileRequestValidationError) Reason() string
- type PageFileReply
- func (*PageFileReply) Descriptor() ([]byte, []int)deprecated
- func (x *PageFileReply) GetList() []*File
- func (x *PageFileReply) GetTotal() uint32
- func (*PageFileReply) ProtoMessage()
- func (x *PageFileReply) ProtoReflect() protoreflect.Message
- func (x *PageFileReply) Reset()
- func (x *PageFileReply) String() string
- func (m *PageFileReply) Validate() error
- func (m *PageFileReply) ValidateAll() error
- type PageFileReplyMultiError
- type PageFileReplyValidationError
- func (e PageFileReplyValidationError) Cause() error
- func (e PageFileReplyValidationError) Error() string
- func (e PageFileReplyValidationError) ErrorName() string
- func (e PageFileReplyValidationError) Field() string
- func (e PageFileReplyValidationError) Key() bool
- func (e PageFileReplyValidationError) Reason() string
- type PageFileRequest
- func (*PageFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PageFileRequest) GetApp() string
- func (x *PageFileRequest) GetDirectoryId() uint32
- func (x *PageFileRequest) GetName() string
- func (x *PageFileRequest) GetPage() uint32
- func (x *PageFileRequest) GetPageSize() uint32
- func (*PageFileRequest) ProtoMessage()
- func (x *PageFileRequest) ProtoReflect() protoreflect.Message
- func (x *PageFileRequest) Reset()
- func (x *PageFileRequest) String() string
- func (m *PageFileRequest) Validate() error
- func (m *PageFileRequest) ValidateAll() error
- type PageFileRequestMultiError
- type PageFileRequestValidationError
- func (e PageFileRequestValidationError) Cause() error
- func (e PageFileRequestValidationError) Error() string
- func (e PageFileRequestValidationError) ErrorName() string
- func (e PageFileRequestValidationError) Field() string
- func (e PageFileRequestValidationError) Key() bool
- func (e PageFileRequestValidationError) Reason() string
- type PrepareUploadFileReply
- func (*PrepareUploadFileReply) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareUploadFileReply) GetChunkCount() uint32
- func (x *PrepareUploadFileReply) GetChunkSize() uint32
- func (x *PrepareUploadFileReply) GetSha() string
- func (x *PrepareUploadFileReply) GetSrc() string
- func (x *PrepareUploadFileReply) GetUploadChunks() []uint32
- func (x *PrepareUploadFileReply) GetUploadId() string
- func (x *PrepareUploadFileReply) GetUploaded() bool
- func (*PrepareUploadFileReply) ProtoMessage()
- func (x *PrepareUploadFileReply) ProtoReflect() protoreflect.Message
- func (x *PrepareUploadFileReply) Reset()
- func (x *PrepareUploadFileReply) String() string
- func (m *PrepareUploadFileReply) Validate() error
- func (m *PrepareUploadFileReply) ValidateAll() error
- type PrepareUploadFileReplyMultiError
- type PrepareUploadFileReplyValidationError
- func (e PrepareUploadFileReplyValidationError) Cause() error
- func (e PrepareUploadFileReplyValidationError) Error() string
- func (e PrepareUploadFileReplyValidationError) ErrorName() string
- func (e PrepareUploadFileReplyValidationError) Field() string
- func (e PrepareUploadFileReplyValidationError) Key() bool
- func (e PrepareUploadFileReplyValidationError) Reason() string
- type PrepareUploadFileRequest
- func (*PrepareUploadFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareUploadFileRequest) GetApp() string
- func (x *PrepareUploadFileRequest) GetDirectoryId() uint32
- func (x *PrepareUploadFileRequest) GetDirectoryPath() string
- func (x *PrepareUploadFileRequest) GetName() string
- func (x *PrepareUploadFileRequest) GetSha() string
- func (x *PrepareUploadFileRequest) GetSize() uint32
- func (*PrepareUploadFileRequest) ProtoMessage()
- func (x *PrepareUploadFileRequest) ProtoReflect() protoreflect.Message
- func (x *PrepareUploadFileRequest) Reset()
- func (x *PrepareUploadFileRequest) String() string
- func (m *PrepareUploadFileRequest) Validate() error
- func (m *PrepareUploadFileRequest) ValidateAll() error
- type PrepareUploadFileRequestMultiError
- type PrepareUploadFileRequestValidationError
- func (e PrepareUploadFileRequestValidationError) Cause() error
- func (e PrepareUploadFileRequestValidationError) Error() string
- func (e PrepareUploadFileRequestValidationError) ErrorName() string
- func (e PrepareUploadFileRequestValidationError) Field() string
- func (e PrepareUploadFileRequestValidationError) Key() bool
- func (e PrepareUploadFileRequestValidationError) Reason() string
- type ServiceClient
- type ServiceHTTPClient
- type ServiceHTTPClientImpl
- func (c *ServiceHTTPClientImpl) AddDirectory(ctx context.Context, in *AddDirectoryRequest, opts ...http.CallOption) (*Directory, error)
- func (c *ServiceHTTPClientImpl) AllDirectory(ctx context.Context, in *AllDirectoryRequest, opts ...http.CallOption) (*AllDirectoryReply, error)
- func (c *ServiceHTTPClientImpl) DeleteDirectory(ctx context.Context, in *DeleteDirectoryRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) DeleteFile(ctx context.Context, in *DeleteFileRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) GetFileBySha(ctx context.Context, in *GetFileByShaRequest, opts ...http.CallOption) (*File, error)
- func (c *ServiceHTTPClientImpl) PageFile(ctx context.Context, in *PageFileRequest, opts ...http.CallOption) (*PageFileReply, error)
- func (c *ServiceHTTPClientImpl) PrepareUploadFile(ctx context.Context, in *PrepareUploadFileRequest, opts ...http.CallOption) (*PrepareUploadFileReply, error)
- func (c *ServiceHTTPClientImpl) UpdateDirectory(ctx context.Context, in *UpdateDirectoryRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) UpdateFile(ctx context.Context, in *UpdateFileRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- type ServiceHTTPServer
- type ServiceServer
- type UnimplementedServiceServer
- func (UnimplementedServiceServer) AddDirectory(context.Context, *AddDirectoryRequest) (*Directory, error)
- func (UnimplementedServiceServer) AllDirectory(context.Context, *AllDirectoryRequest) (*AllDirectoryReply, error)
- func (UnimplementedServiceServer) DeleteDirectory(context.Context, *DeleteDirectoryRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) DeleteFile(context.Context, *DeleteFileRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) GetFileBySha(context.Context, *GetFileByShaRequest) (*File, error)
- func (UnimplementedServiceServer) PageFile(context.Context, *PageFileRequest) (*PageFileReply, error)
- func (UnimplementedServiceServer) PrepareUploadFile(context.Context, *PrepareUploadFileRequest) (*PrepareUploadFileReply, error)
- func (UnimplementedServiceServer) UpdateDirectory(context.Context, *UpdateDirectoryRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) UpdateFile(context.Context, *UpdateFileRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) UploadFile(context.Context, *UploadFileRequest) (*UploadFileReply, error)
- type UnsafeServiceServer
- type UpdateDirectoryRequest
- func (*UpdateDirectoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDirectoryRequest) GetApp() string
- func (x *UpdateDirectoryRequest) GetId() uint32
- func (x *UpdateDirectoryRequest) GetName() string
- func (*UpdateDirectoryRequest) ProtoMessage()
- func (x *UpdateDirectoryRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDirectoryRequest) Reset()
- func (x *UpdateDirectoryRequest) String() string
- func (m *UpdateDirectoryRequest) Validate() error
- func (m *UpdateDirectoryRequest) ValidateAll() error
- type UpdateDirectoryRequestMultiError
- type UpdateDirectoryRequestValidationError
- func (e UpdateDirectoryRequestValidationError) Cause() error
- func (e UpdateDirectoryRequestValidationError) Error() string
- func (e UpdateDirectoryRequestValidationError) ErrorName() string
- func (e UpdateDirectoryRequestValidationError) Field() string
- func (e UpdateDirectoryRequestValidationError) Key() bool
- func (e UpdateDirectoryRequestValidationError) Reason() string
- type UpdateFileRequest
- func (*UpdateFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFileRequest) GetApp() string
- func (x *UpdateFileRequest) GetDirectoryId() uint32
- func (x *UpdateFileRequest) GetId() uint32
- func (x *UpdateFileRequest) GetName() string
- func (*UpdateFileRequest) ProtoMessage()
- func (x *UpdateFileRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFileRequest) Reset()
- func (x *UpdateFileRequest) String() string
- func (m *UpdateFileRequest) Validate() error
- func (m *UpdateFileRequest) ValidateAll() error
- type UpdateFileRequestMultiError
- type UpdateFileRequestValidationError
- func (e UpdateFileRequestValidationError) Cause() error
- func (e UpdateFileRequestValidationError) Error() string
- func (e UpdateFileRequestValidationError) ErrorName() string
- func (e UpdateFileRequestValidationError) Field() string
- func (e UpdateFileRequestValidationError) Key() bool
- func (e UpdateFileRequestValidationError) Reason() string
- type UploadFileReply
- func (*UploadFileReply) Descriptor() ([]byte, []int)deprecated
- func (x *UploadFileReply) GetSha() string
- func (x *UploadFileReply) GetSrc() string
- func (*UploadFileReply) ProtoMessage()
- func (x *UploadFileReply) ProtoReflect() protoreflect.Message
- func (x *UploadFileReply) Reset()
- func (x *UploadFileReply) String() string
- func (m *UploadFileReply) Validate() error
- func (m *UploadFileReply) ValidateAll() error
- type UploadFileReplyMultiError
- type UploadFileReplyValidationError
- func (e UploadFileReplyValidationError) Cause() error
- func (e UploadFileReplyValidationError) Error() string
- func (e UploadFileReplyValidationError) ErrorName() string
- func (e UploadFileReplyValidationError) Field() string
- func (e UploadFileReplyValidationError) Key() bool
- func (e UploadFileReplyValidationError) Reason() string
- type UploadFileRequest
- func (*UploadFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadFileRequest) GetData() []byte
- func (x *UploadFileRequest) GetIndex() uint32
- func (x *UploadFileRequest) GetUploadId() string
- func (*UploadFileRequest) ProtoMessage()
- func (x *UploadFileRequest) ProtoReflect() protoreflect.Message
- func (x *UploadFileRequest) Reset()
- func (x *UploadFileRequest) String() string
- func (m *UploadFileRequest) Validate() error
- func (m *UploadFileRequest) ValidateAll() error
- type UploadFileRequestMultiError
- type UploadFileRequestValidationError
- func (e UploadFileRequestValidationError) Cause() error
- func (e UploadFileRequestValidationError) Error() string
- func (e UploadFileRequestValidationError) ErrorName() string
- func (e UploadFileRequestValidationError) Field() string
- func (e UploadFileRequestValidationError) Key() bool
- func (e UploadFileRequestValidationError) Reason() string
Constants ¶
const ( Service_AllDirectory_FullMethodName = "/file.Service/AllDirectory" Service_AddDirectory_FullMethodName = "/file.Service/AddDirectory" Service_UpdateDirectory_FullMethodName = "/file.Service/UpdateDirectory" Service_DeleteDirectory_FullMethodName = "/file.Service/DeleteDirectory" Service_PrepareUploadFile_FullMethodName = "/file.Service/PrepareUploadFile" Service_UploadFile_FullMethodName = "/file.Service/UploadFile" Service_PageFile_FullMethodName = "/file.Service/PageFile" Service_GetFileBySha_FullMethodName = "/file.Service/GetFileBySha" Service_UpdateFile_FullMethodName = "/file.Service/UpdateFile" Service_DeleteFile_FullMethodName = "/file.Service/DeleteFile" )
const OperationServiceAddDirectory = "/file.Service/AddDirectory"
const OperationServiceAllDirectory = "/file.Service/AllDirectory"
const OperationServiceDeleteDirectory = "/file.Service/DeleteDirectory"
const OperationServiceDeleteFile = "/file.Service/DeleteFile"
const OperationServiceGetFileBySha = "/file.Service/GetFileBySha"
const OperationServicePageFile = "/file.Service/PageFile"
const OperationServicePrepareUploadFile = "/file.Service/PrepareUploadFile"
const OperationServiceUpdateDirectory = "/file.Service/UpdateDirectory"
const OperationServiceUpdateFile = "/file.Service/UpdateFile"
Variables ¶
var File_resource_directory_proto protoreflect.FileDescriptor
var File_resource_file_proto protoreflect.FileDescriptor
var File_resource_file_service_proto protoreflect.FileDescriptor
var Service_ServiceDesc = grpc.ServiceDesc{ ServiceName: "file.Service", HandlerType: (*ServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AllDirectory", Handler: _Service_AllDirectory_Handler, }, { MethodName: "AddDirectory", Handler: _Service_AddDirectory_Handler, }, { MethodName: "UpdateDirectory", Handler: _Service_UpdateDirectory_Handler, }, { MethodName: "DeleteDirectory", Handler: _Service_DeleteDirectory_Handler, }, { MethodName: "PrepareUploadFile", Handler: _Service_PrepareUploadFile_Handler, }, { MethodName: "UploadFile", Handler: _Service_UploadFile_Handler, }, { MethodName: "PageFile", Handler: _Service_PageFile_Handler, }, { MethodName: "GetFileBySha", Handler: _Service_GetFileBySha_Handler, }, { MethodName: "UpdateFile", Handler: _Service_UpdateFile_Handler, }, { MethodName: "DeleteFile", Handler: _Service_DeleteFile_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "resource_file_service.proto", }
Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterServiceHTTPServer ¶
func RegisterServiceHTTPServer(s *http.Server, srv ServiceHTTPServer)
func RegisterServiceServer ¶
func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
Types ¶
type AddDirectoryRequest ¶
type AddDirectoryRequest struct { ParentId uint32 `protobuf:"varint,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` App string `protobuf:"bytes,3,opt,name=app,proto3" json:"app,omitempty"` // contains filtered or unexported fields }
func (*AddDirectoryRequest) Descriptor
deprecated
func (*AddDirectoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDirectoryRequest.ProtoReflect.Descriptor instead.
func (*AddDirectoryRequest) GetApp ¶
func (x *AddDirectoryRequest) GetApp() string
func (*AddDirectoryRequest) GetName ¶
func (x *AddDirectoryRequest) GetName() string
func (*AddDirectoryRequest) GetParentId ¶
func (x *AddDirectoryRequest) GetParentId() uint32
func (*AddDirectoryRequest) ProtoMessage ¶
func (*AddDirectoryRequest) ProtoMessage()
func (*AddDirectoryRequest) ProtoReflect ¶
func (x *AddDirectoryRequest) ProtoReflect() protoreflect.Message
func (*AddDirectoryRequest) Reset ¶
func (x *AddDirectoryRequest) Reset()
func (*AddDirectoryRequest) String ¶
func (x *AddDirectoryRequest) String() string
func (*AddDirectoryRequest) Validate ¶
func (m *AddDirectoryRequest) Validate() error
Validate checks the field values on AddDirectoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddDirectoryRequest) ValidateAll ¶
func (m *AddDirectoryRequest) ValidateAll() error
ValidateAll checks the field values on AddDirectoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddDirectoryRequestMultiError, or nil if none found.
type AddDirectoryRequestMultiError ¶
type AddDirectoryRequestMultiError []error
AddDirectoryRequestMultiError is an error wrapping multiple validation errors returned by AddDirectoryRequest.ValidateAll() if the designated constraints aren't met.
func (AddDirectoryRequestMultiError) AllErrors ¶
func (m AddDirectoryRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddDirectoryRequestMultiError) Error ¶
func (m AddDirectoryRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddDirectoryRequestValidationError ¶
type AddDirectoryRequestValidationError struct {
// contains filtered or unexported fields
}
AddDirectoryRequestValidationError is the validation error returned by AddDirectoryRequest.Validate if the designated constraints aren't met.
func (AddDirectoryRequestValidationError) Cause ¶
func (e AddDirectoryRequestValidationError) Cause() error
Cause function returns cause value.
func (AddDirectoryRequestValidationError) Error ¶
func (e AddDirectoryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddDirectoryRequestValidationError) ErrorName ¶
func (e AddDirectoryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddDirectoryRequestValidationError) Field ¶
func (e AddDirectoryRequestValidationError) Field() string
Field function returns field value.
func (AddDirectoryRequestValidationError) Key ¶
func (e AddDirectoryRequestValidationError) Key() bool
Key function returns key value.
func (AddDirectoryRequestValidationError) Reason ¶
func (e AddDirectoryRequestValidationError) Reason() string
Reason function returns reason value.
type AllDirectoryReply ¶
type AllDirectoryReply struct { List []*Directory `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*AllDirectoryReply) Descriptor
deprecated
func (*AllDirectoryReply) Descriptor() ([]byte, []int)
Deprecated: Use AllDirectoryReply.ProtoReflect.Descriptor instead.
func (*AllDirectoryReply) GetList ¶
func (x *AllDirectoryReply) GetList() []*Directory
func (*AllDirectoryReply) ProtoMessage ¶
func (*AllDirectoryReply) ProtoMessage()
func (*AllDirectoryReply) ProtoReflect ¶
func (x *AllDirectoryReply) ProtoReflect() protoreflect.Message
func (*AllDirectoryReply) Reset ¶
func (x *AllDirectoryReply) Reset()
func (*AllDirectoryReply) String ¶
func (x *AllDirectoryReply) String() string
func (*AllDirectoryReply) Validate ¶
func (m *AllDirectoryReply) Validate() error
Validate checks the field values on AllDirectoryReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AllDirectoryReply) ValidateAll ¶
func (m *AllDirectoryReply) ValidateAll() error
ValidateAll checks the field values on AllDirectoryReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AllDirectoryReplyMultiError, or nil if none found.
type AllDirectoryReplyMultiError ¶
type AllDirectoryReplyMultiError []error
AllDirectoryReplyMultiError is an error wrapping multiple validation errors returned by AllDirectoryReply.ValidateAll() if the designated constraints aren't met.
func (AllDirectoryReplyMultiError) AllErrors ¶
func (m AllDirectoryReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllDirectoryReplyMultiError) Error ¶
func (m AllDirectoryReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllDirectoryReplyValidationError ¶
type AllDirectoryReplyValidationError struct {
// contains filtered or unexported fields
}
AllDirectoryReplyValidationError is the validation error returned by AllDirectoryReply.Validate if the designated constraints aren't met.
func (AllDirectoryReplyValidationError) Cause ¶
func (e AllDirectoryReplyValidationError) Cause() error
Cause function returns cause value.
func (AllDirectoryReplyValidationError) Error ¶
func (e AllDirectoryReplyValidationError) Error() string
Error satisfies the builtin error interface
func (AllDirectoryReplyValidationError) ErrorName ¶
func (e AllDirectoryReplyValidationError) ErrorName() string
ErrorName returns error name.
func (AllDirectoryReplyValidationError) Field ¶
func (e AllDirectoryReplyValidationError) Field() string
Field function returns field value.
func (AllDirectoryReplyValidationError) Key ¶
func (e AllDirectoryReplyValidationError) Key() bool
Key function returns key value.
func (AllDirectoryReplyValidationError) Reason ¶
func (e AllDirectoryReplyValidationError) Reason() string
Reason function returns reason value.
type AllDirectoryRequest ¶
type AllDirectoryRequest struct { ParentId uint32 `protobuf:"varint,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` App string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"` // contains filtered or unexported fields }
func (*AllDirectoryRequest) Descriptor
deprecated
func (*AllDirectoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use AllDirectoryRequest.ProtoReflect.Descriptor instead.
func (*AllDirectoryRequest) GetApp ¶
func (x *AllDirectoryRequest) GetApp() string
func (*AllDirectoryRequest) GetParentId ¶
func (x *AllDirectoryRequest) GetParentId() uint32
func (*AllDirectoryRequest) ProtoMessage ¶
func (*AllDirectoryRequest) ProtoMessage()
func (*AllDirectoryRequest) ProtoReflect ¶
func (x *AllDirectoryRequest) ProtoReflect() protoreflect.Message
func (*AllDirectoryRequest) Reset ¶
func (x *AllDirectoryRequest) Reset()
func (*AllDirectoryRequest) String ¶
func (x *AllDirectoryRequest) String() string
func (*AllDirectoryRequest) Validate ¶
func (m *AllDirectoryRequest) Validate() error
Validate checks the field values on AllDirectoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AllDirectoryRequest) ValidateAll ¶
func (m *AllDirectoryRequest) ValidateAll() error
ValidateAll checks the field values on AllDirectoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AllDirectoryRequestMultiError, or nil if none found.
type AllDirectoryRequestMultiError ¶
type AllDirectoryRequestMultiError []error
AllDirectoryRequestMultiError is an error wrapping multiple validation errors returned by AllDirectoryRequest.ValidateAll() if the designated constraints aren't met.
func (AllDirectoryRequestMultiError) AllErrors ¶
func (m AllDirectoryRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllDirectoryRequestMultiError) Error ¶
func (m AllDirectoryRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllDirectoryRequestValidationError ¶
type AllDirectoryRequestValidationError struct {
// contains filtered or unexported fields
}
AllDirectoryRequestValidationError is the validation error returned by AllDirectoryRequest.Validate if the designated constraints aren't met.
func (AllDirectoryRequestValidationError) Cause ¶
func (e AllDirectoryRequestValidationError) Cause() error
Cause function returns cause value.
func (AllDirectoryRequestValidationError) Error ¶
func (e AllDirectoryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AllDirectoryRequestValidationError) ErrorName ¶
func (e AllDirectoryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AllDirectoryRequestValidationError) Field ¶
func (e AllDirectoryRequestValidationError) Field() string
Field function returns field value.
func (AllDirectoryRequestValidationError) Key ¶
func (e AllDirectoryRequestValidationError) Key() bool
Key function returns key value.
func (AllDirectoryRequestValidationError) Reason ¶
func (e AllDirectoryRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteDirectoryRequest ¶
type DeleteDirectoryRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` App string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"` // contains filtered or unexported fields }
func (*DeleteDirectoryRequest) Descriptor
deprecated
func (*DeleteDirectoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDirectoryRequest.ProtoReflect.Descriptor instead.
func (*DeleteDirectoryRequest) GetApp ¶
func (x *DeleteDirectoryRequest) GetApp() string
func (*DeleteDirectoryRequest) GetId ¶
func (x *DeleteDirectoryRequest) GetId() uint32
func (*DeleteDirectoryRequest) ProtoMessage ¶
func (*DeleteDirectoryRequest) ProtoMessage()
func (*DeleteDirectoryRequest) ProtoReflect ¶
func (x *DeleteDirectoryRequest) ProtoReflect() protoreflect.Message
func (*DeleteDirectoryRequest) Reset ¶
func (x *DeleteDirectoryRequest) Reset()
func (*DeleteDirectoryRequest) String ¶
func (x *DeleteDirectoryRequest) String() string
func (*DeleteDirectoryRequest) Validate ¶
func (m *DeleteDirectoryRequest) Validate() error
Validate checks the field values on DeleteDirectoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteDirectoryRequest) ValidateAll ¶
func (m *DeleteDirectoryRequest) ValidateAll() error
ValidateAll checks the field values on DeleteDirectoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteDirectoryRequestMultiError, or nil if none found.
type DeleteDirectoryRequestMultiError ¶
type DeleteDirectoryRequestMultiError []error
DeleteDirectoryRequestMultiError is an error wrapping multiple validation errors returned by DeleteDirectoryRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteDirectoryRequestMultiError) AllErrors ¶
func (m DeleteDirectoryRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDirectoryRequestMultiError) Error ¶
func (m DeleteDirectoryRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDirectoryRequestValidationError ¶
type DeleteDirectoryRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteDirectoryRequestValidationError is the validation error returned by DeleteDirectoryRequest.Validate if the designated constraints aren't met.
func (DeleteDirectoryRequestValidationError) Cause ¶
func (e DeleteDirectoryRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteDirectoryRequestValidationError) Error ¶
func (e DeleteDirectoryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDirectoryRequestValidationError) ErrorName ¶
func (e DeleteDirectoryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDirectoryRequestValidationError) Field ¶
func (e DeleteDirectoryRequestValidationError) Field() string
Field function returns field value.
func (DeleteDirectoryRequestValidationError) Key ¶
func (e DeleteDirectoryRequestValidationError) Key() bool
Key function returns key value.
func (DeleteDirectoryRequestValidationError) Reason ¶
func (e DeleteDirectoryRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteFileRequest ¶
type DeleteFileRequest struct { Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` App string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"` DirectoryId uint32 `protobuf:"varint,3,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteFileRequest) Descriptor
deprecated
func (*DeleteFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFileRequest.ProtoReflect.Descriptor instead.
func (*DeleteFileRequest) GetApp ¶
func (x *DeleteFileRequest) GetApp() string
func (*DeleteFileRequest) GetDirectoryId ¶
func (x *DeleteFileRequest) GetDirectoryId() uint32
func (*DeleteFileRequest) GetIds ¶
func (x *DeleteFileRequest) GetIds() []uint32
func (*DeleteFileRequest) ProtoMessage ¶
func (*DeleteFileRequest) ProtoMessage()
func (*DeleteFileRequest) ProtoReflect ¶
func (x *DeleteFileRequest) ProtoReflect() protoreflect.Message
func (*DeleteFileRequest) Reset ¶
func (x *DeleteFileRequest) Reset()
func (*DeleteFileRequest) String ¶
func (x *DeleteFileRequest) String() string
func (*DeleteFileRequest) Validate ¶
func (m *DeleteFileRequest) Validate() error
Validate checks the field values on DeleteFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteFileRequest) ValidateAll ¶
func (m *DeleteFileRequest) ValidateAll() error
ValidateAll checks the field values on DeleteFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteFileRequestMultiError, or nil if none found.
type DeleteFileRequestMultiError ¶
type DeleteFileRequestMultiError []error
DeleteFileRequestMultiError is an error wrapping multiple validation errors returned by DeleteFileRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteFileRequestMultiError) AllErrors ¶
func (m DeleteFileRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteFileRequestMultiError) Error ¶
func (m DeleteFileRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteFileRequestValidationError ¶
type DeleteFileRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteFileRequestValidationError is the validation error returned by DeleteFileRequest.Validate if the designated constraints aren't met.
func (DeleteFileRequestValidationError) Cause ¶
func (e DeleteFileRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteFileRequestValidationError) Error ¶
func (e DeleteFileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteFileRequestValidationError) ErrorName ¶
func (e DeleteFileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteFileRequestValidationError) Field ¶
func (e DeleteFileRequestValidationError) Field() string
Field function returns field value.
func (DeleteFileRequestValidationError) Key ¶
func (e DeleteFileRequestValidationError) Key() bool
Key function returns key value.
func (DeleteFileRequestValidationError) Reason ¶
func (e DeleteFileRequestValidationError) Reason() string
Reason function returns reason value.
type Directory ¶
type Directory struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ParentId *uint32 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"` App string `protobuf:"bytes,3,opt,name=app,proto3" json:"app,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` CreatedAt uint32 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt uint32 `protobuf:"varint,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Directory) Descriptor
deprecated
func (*Directory) GetCreatedAt ¶
func (*Directory) GetParentId ¶
func (*Directory) GetUpdatedAt ¶
func (*Directory) ProtoMessage ¶
func (*Directory) ProtoMessage()
func (*Directory) ProtoReflect ¶
func (x *Directory) ProtoReflect() protoreflect.Message
func (*Directory) Validate ¶
Validate checks the field values on Directory with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Directory) ValidateAll ¶
ValidateAll checks the field values on Directory with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DirectoryMultiError, or nil if none found.
type DirectoryMultiError ¶
type DirectoryMultiError []error
DirectoryMultiError is an error wrapping multiple validation errors returned by Directory.ValidateAll() if the designated constraints aren't met.
func (DirectoryMultiError) AllErrors ¶
func (m DirectoryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DirectoryMultiError) Error ¶
func (m DirectoryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DirectoryValidationError ¶
type DirectoryValidationError struct {
// contains filtered or unexported fields
}
DirectoryValidationError is the validation error returned by Directory.Validate if the designated constraints aren't met.
func (DirectoryValidationError) Cause ¶
func (e DirectoryValidationError) Cause() error
Cause function returns cause value.
func (DirectoryValidationError) Error ¶
func (e DirectoryValidationError) Error() string
Error satisfies the builtin error interface
func (DirectoryValidationError) ErrorName ¶
func (e DirectoryValidationError) ErrorName() string
ErrorName returns error name.
func (DirectoryValidationError) Field ¶
func (e DirectoryValidationError) Field() string
Field function returns field value.
func (DirectoryValidationError) Key ¶
func (e DirectoryValidationError) Key() bool
Key function returns key value.
func (DirectoryValidationError) Reason ¶
func (e DirectoryValidationError) Reason() string
Reason function returns reason value.
type File ¶
type File struct { Id uint32 `protobuf:"varint,11,opt,name=id,proto3" json:"id,omitempty"` DirectoryId uint32 `protobuf:"varint,1,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Size uint32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` Sha string `protobuf:"bytes,5,opt,name=sha,proto3" json:"sha,omitempty"` Src string `protobuf:"bytes,6,opt,name=src,proto3" json:"src,omitempty"` Storage string `protobuf:"bytes,9,opt,name=storage,proto3" json:"storage,omitempty"` CreatedAt uint32 `protobuf:"varint,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*File) Descriptor
deprecated
func (*File) GetCreatedAt ¶
func (*File) GetDirectoryId ¶
func (*File) GetStorage ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
func (*File) Validate ¶
Validate checks the field values on File with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*File) ValidateAll ¶
ValidateAll checks the field values on File with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FileMultiError, or nil if none found.
type FileMultiError ¶
type FileMultiError []error
FileMultiError is an error wrapping multiple validation errors returned by File.ValidateAll() if the designated constraints aren't met.
func (FileMultiError) AllErrors ¶
func (m FileMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FileMultiError) Error ¶
func (m FileMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FileValidationError ¶
type FileValidationError struct {
// contains filtered or unexported fields
}
FileValidationError is the validation error returned by File.Validate if the designated constraints aren't met.
func (FileValidationError) Cause ¶
func (e FileValidationError) Cause() error
Cause function returns cause value.
func (FileValidationError) Error ¶
func (e FileValidationError) Error() string
Error satisfies the builtin error interface
func (FileValidationError) ErrorName ¶
func (e FileValidationError) ErrorName() string
ErrorName returns error name.
func (FileValidationError) Field ¶
func (e FileValidationError) Field() string
Field function returns field value.
func (FileValidationError) Key ¶
func (e FileValidationError) Key() bool
Key function returns key value.
func (FileValidationError) Reason ¶
func (e FileValidationError) Reason() string
Reason function returns reason value.
type GetFileByShaRequest ¶
type GetFileByShaRequest struct { Sha string `protobuf:"bytes,5,opt,name=sha,proto3" json:"sha,omitempty"` // contains filtered or unexported fields }
func (*GetFileByShaRequest) Descriptor
deprecated
func (*GetFileByShaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFileByShaRequest.ProtoReflect.Descriptor instead.
func (*GetFileByShaRequest) GetSha ¶
func (x *GetFileByShaRequest) GetSha() string
func (*GetFileByShaRequest) ProtoMessage ¶
func (*GetFileByShaRequest) ProtoMessage()
func (*GetFileByShaRequest) ProtoReflect ¶
func (x *GetFileByShaRequest) ProtoReflect() protoreflect.Message
func (*GetFileByShaRequest) Reset ¶
func (x *GetFileByShaRequest) Reset()
func (*GetFileByShaRequest) String ¶
func (x *GetFileByShaRequest) String() string
func (*GetFileByShaRequest) Validate ¶
func (m *GetFileByShaRequest) Validate() error
Validate checks the field values on GetFileByShaRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetFileByShaRequest) ValidateAll ¶
func (m *GetFileByShaRequest) ValidateAll() error
ValidateAll checks the field values on GetFileByShaRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetFileByShaRequestMultiError, or nil if none found.
type GetFileByShaRequestMultiError ¶
type GetFileByShaRequestMultiError []error
GetFileByShaRequestMultiError is an error wrapping multiple validation errors returned by GetFileByShaRequest.ValidateAll() if the designated constraints aren't met.
func (GetFileByShaRequestMultiError) AllErrors ¶
func (m GetFileByShaRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetFileByShaRequestMultiError) Error ¶
func (m GetFileByShaRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetFileByShaRequestValidationError ¶
type GetFileByShaRequestValidationError struct {
// contains filtered or unexported fields
}
GetFileByShaRequestValidationError is the validation error returned by GetFileByShaRequest.Validate if the designated constraints aren't met.
func (GetFileByShaRequestValidationError) Cause ¶
func (e GetFileByShaRequestValidationError) Cause() error
Cause function returns cause value.
func (GetFileByShaRequestValidationError) Error ¶
func (e GetFileByShaRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetFileByShaRequestValidationError) ErrorName ¶
func (e GetFileByShaRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetFileByShaRequestValidationError) Field ¶
func (e GetFileByShaRequestValidationError) Field() string
Field function returns field value.
func (GetFileByShaRequestValidationError) Key ¶
func (e GetFileByShaRequestValidationError) Key() bool
Key function returns key value.
func (GetFileByShaRequestValidationError) Reason ¶
func (e GetFileByShaRequestValidationError) Reason() string
Reason function returns reason value.
type GetFileReply ¶
type GetFileReply struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Mime string `protobuf:"bytes,2,opt,name=mime,proto3" json:"mime,omitempty"` // contains filtered or unexported fields }
func (*GetFileReply) Descriptor
deprecated
func (*GetFileReply) Descriptor() ([]byte, []int)
Deprecated: Use GetFileReply.ProtoReflect.Descriptor instead.
func (*GetFileReply) GetData ¶
func (x *GetFileReply) GetData() []byte
func (*GetFileReply) GetMime ¶
func (x *GetFileReply) GetMime() string
func (*GetFileReply) ProtoMessage ¶
func (*GetFileReply) ProtoMessage()
func (*GetFileReply) ProtoReflect ¶
func (x *GetFileReply) ProtoReflect() protoreflect.Message
func (*GetFileReply) Reset ¶
func (x *GetFileReply) Reset()
func (*GetFileReply) String ¶
func (x *GetFileReply) String() string
func (*GetFileReply) Validate ¶
func (m *GetFileReply) Validate() error
Validate checks the field values on GetFileReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetFileReply) ValidateAll ¶
func (m *GetFileReply) ValidateAll() error
ValidateAll checks the field values on GetFileReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetFileReplyMultiError, or nil if none found.
type GetFileReplyMultiError ¶
type GetFileReplyMultiError []error
GetFileReplyMultiError is an error wrapping multiple validation errors returned by GetFileReply.ValidateAll() if the designated constraints aren't met.
func (GetFileReplyMultiError) AllErrors ¶
func (m GetFileReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetFileReplyMultiError) Error ¶
func (m GetFileReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetFileReplyValidationError ¶
type GetFileReplyValidationError struct {
// contains filtered or unexported fields
}
GetFileReplyValidationError is the validation error returned by GetFileReply.Validate if the designated constraints aren't met.
func (GetFileReplyValidationError) Cause ¶
func (e GetFileReplyValidationError) Cause() error
Cause function returns cause value.
func (GetFileReplyValidationError) Error ¶
func (e GetFileReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetFileReplyValidationError) ErrorName ¶
func (e GetFileReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetFileReplyValidationError) Field ¶
func (e GetFileReplyValidationError) Field() string
Field function returns field value.
func (GetFileReplyValidationError) Key ¶
func (e GetFileReplyValidationError) Key() bool
Key function returns key value.
func (GetFileReplyValidationError) Reason ¶
func (e GetFileReplyValidationError) Reason() string
Reason function returns reason value.
type GetFileRequest ¶
type GetFileRequest struct { Src string `protobuf:"bytes,1,opt,name=src,proto3" json:"src,omitempty"` Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Mode string `protobuf:"bytes,4,opt,name=mode,proto3" json:"mode,omitempty"` IsRange bool `protobuf:"varint,5,opt,name=is_range,json=isRange,proto3" json:"is_range,omitempty"` Start uint32 `protobuf:"varint,6,opt,name=start,proto3" json:"start,omitempty"` End uint32 `protobuf:"varint,7,opt,name=end,proto3" json:"end,omitempty"` Download bool `protobuf:"varint,8,opt,name=download,proto3" json:"download,omitempty"` SaveName string `protobuf:"bytes,9,opt,name=save_name,json=saveName,proto3" json:"save_name,omitempty"` // contains filtered or unexported fields }
func (*GetFileRequest) Descriptor
deprecated
func (*GetFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFileRequest.ProtoReflect.Descriptor instead.
func (*GetFileRequest) GetDownload ¶ added in v1.0.8
func (x *GetFileRequest) GetDownload() bool
func (*GetFileRequest) GetEnd ¶ added in v1.0.6
func (x *GetFileRequest) GetEnd() uint32
func (*GetFileRequest) GetHeight ¶
func (x *GetFileRequest) GetHeight() uint32
func (*GetFileRequest) GetIsRange ¶ added in v1.0.6
func (x *GetFileRequest) GetIsRange() bool
func (*GetFileRequest) GetMode ¶
func (x *GetFileRequest) GetMode() string
func (*GetFileRequest) GetSaveName ¶ added in v1.0.8
func (x *GetFileRequest) GetSaveName() string
func (*GetFileRequest) GetSrc ¶
func (x *GetFileRequest) GetSrc() string
func (*GetFileRequest) GetStart ¶ added in v1.0.6
func (x *GetFileRequest) GetStart() uint32
func (*GetFileRequest) GetWidth ¶
func (x *GetFileRequest) GetWidth() uint32
func (*GetFileRequest) ProtoMessage ¶
func (*GetFileRequest) ProtoMessage()
func (*GetFileRequest) ProtoReflect ¶
func (x *GetFileRequest) ProtoReflect() protoreflect.Message
func (*GetFileRequest) Reset ¶
func (x *GetFileRequest) Reset()
func (*GetFileRequest) String ¶
func (x *GetFileRequest) String() string
func (*GetFileRequest) Validate ¶
func (m *GetFileRequest) Validate() error
Validate checks the field values on GetFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetFileRequest) ValidateAll ¶
func (m *GetFileRequest) ValidateAll() error
ValidateAll checks the field values on GetFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetFileRequestMultiError, or nil if none found.
type GetFileRequestMultiError ¶
type GetFileRequestMultiError []error
GetFileRequestMultiError is an error wrapping multiple validation errors returned by GetFileRequest.ValidateAll() if the designated constraints aren't met.
func (GetFileRequestMultiError) AllErrors ¶
func (m GetFileRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetFileRequestMultiError) Error ¶
func (m GetFileRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetFileRequestValidationError ¶
type GetFileRequestValidationError struct {
// contains filtered or unexported fields
}
GetFileRequestValidationError is the validation error returned by GetFileRequest.Validate if the designated constraints aren't met.
func (GetFileRequestValidationError) Cause ¶
func (e GetFileRequestValidationError) Cause() error
Cause function returns cause value.
func (GetFileRequestValidationError) Error ¶
func (e GetFileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetFileRequestValidationError) ErrorName ¶
func (e GetFileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetFileRequestValidationError) Field ¶
func (e GetFileRequestValidationError) Field() string
Field function returns field value.
func (GetFileRequestValidationError) Key ¶
func (e GetFileRequestValidationError) Key() bool
Key function returns key value.
func (GetFileRequestValidationError) Reason ¶
func (e GetFileRequestValidationError) Reason() string
Reason function returns reason value.
type PageFileReply ¶
type PageFileReply struct { List []*File `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` Total *uint32 `protobuf:"varint,2,opt,name=total,proto3,oneof" json:"total,omitempty"` // contains filtered or unexported fields }
func (*PageFileReply) Descriptor
deprecated
func (*PageFileReply) Descriptor() ([]byte, []int)
Deprecated: Use PageFileReply.ProtoReflect.Descriptor instead.
func (*PageFileReply) GetList ¶
func (x *PageFileReply) GetList() []*File
func (*PageFileReply) GetTotal ¶
func (x *PageFileReply) GetTotal() uint32
func (*PageFileReply) ProtoMessage ¶
func (*PageFileReply) ProtoMessage()
func (*PageFileReply) ProtoReflect ¶
func (x *PageFileReply) ProtoReflect() protoreflect.Message
func (*PageFileReply) Reset ¶
func (x *PageFileReply) Reset()
func (*PageFileReply) String ¶
func (x *PageFileReply) String() string
func (*PageFileReply) Validate ¶
func (m *PageFileReply) Validate() error
Validate checks the field values on PageFileReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PageFileReply) ValidateAll ¶
func (m *PageFileReply) ValidateAll() error
ValidateAll checks the field values on PageFileReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageFileReplyMultiError, or nil if none found.
type PageFileReplyMultiError ¶
type PageFileReplyMultiError []error
PageFileReplyMultiError is an error wrapping multiple validation errors returned by PageFileReply.ValidateAll() if the designated constraints aren't met.
func (PageFileReplyMultiError) AllErrors ¶
func (m PageFileReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageFileReplyMultiError) Error ¶
func (m PageFileReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageFileReplyValidationError ¶
type PageFileReplyValidationError struct {
// contains filtered or unexported fields
}
PageFileReplyValidationError is the validation error returned by PageFileReply.Validate if the designated constraints aren't met.
func (PageFileReplyValidationError) Cause ¶
func (e PageFileReplyValidationError) Cause() error
Cause function returns cause value.
func (PageFileReplyValidationError) Error ¶
func (e PageFileReplyValidationError) Error() string
Error satisfies the builtin error interface
func (PageFileReplyValidationError) ErrorName ¶
func (e PageFileReplyValidationError) ErrorName() string
ErrorName returns error name.
func (PageFileReplyValidationError) Field ¶
func (e PageFileReplyValidationError) Field() string
Field function returns field value.
func (PageFileReplyValidationError) Key ¶
func (e PageFileReplyValidationError) Key() bool
Key function returns key value.
func (PageFileReplyValidationError) Reason ¶
func (e PageFileReplyValidationError) Reason() string
Reason function returns reason value.
type PageFileRequest ¶
type PageFileRequest struct { DirectoryId uint32 `protobuf:"varint,1,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` App string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"` Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` Page uint32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"` PageSize uint32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*PageFileRequest) Descriptor
deprecated
func (*PageFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use PageFileRequest.ProtoReflect.Descriptor instead.
func (*PageFileRequest) GetApp ¶
func (x *PageFileRequest) GetApp() string
func (*PageFileRequest) GetDirectoryId ¶
func (x *PageFileRequest) GetDirectoryId() uint32
func (*PageFileRequest) GetName ¶
func (x *PageFileRequest) GetName() string
func (*PageFileRequest) GetPage ¶
func (x *PageFileRequest) GetPage() uint32
func (*PageFileRequest) GetPageSize ¶
func (x *PageFileRequest) GetPageSize() uint32
func (*PageFileRequest) ProtoMessage ¶
func (*PageFileRequest) ProtoMessage()
func (*PageFileRequest) ProtoReflect ¶
func (x *PageFileRequest) ProtoReflect() protoreflect.Message
func (*PageFileRequest) Reset ¶
func (x *PageFileRequest) Reset()
func (*PageFileRequest) String ¶
func (x *PageFileRequest) String() string
func (*PageFileRequest) Validate ¶
func (m *PageFileRequest) Validate() error
Validate checks the field values on PageFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PageFileRequest) ValidateAll ¶
func (m *PageFileRequest) ValidateAll() error
ValidateAll checks the field values on PageFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageFileRequestMultiError, or nil if none found.
type PageFileRequestMultiError ¶
type PageFileRequestMultiError []error
PageFileRequestMultiError is an error wrapping multiple validation errors returned by PageFileRequest.ValidateAll() if the designated constraints aren't met.
func (PageFileRequestMultiError) AllErrors ¶
func (m PageFileRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageFileRequestMultiError) Error ¶
func (m PageFileRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageFileRequestValidationError ¶
type PageFileRequestValidationError struct {
// contains filtered or unexported fields
}
PageFileRequestValidationError is the validation error returned by PageFileRequest.Validate if the designated constraints aren't met.
func (PageFileRequestValidationError) Cause ¶
func (e PageFileRequestValidationError) Cause() error
Cause function returns cause value.
func (PageFileRequestValidationError) Error ¶
func (e PageFileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PageFileRequestValidationError) ErrorName ¶
func (e PageFileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PageFileRequestValidationError) Field ¶
func (e PageFileRequestValidationError) Field() string
Field function returns field value.
func (PageFileRequestValidationError) Key ¶
func (e PageFileRequestValidationError) Key() bool
Key function returns key value.
func (PageFileRequestValidationError) Reason ¶
func (e PageFileRequestValidationError) Reason() string
Reason function returns reason value.
type PrepareUploadFileReply ¶
type PrepareUploadFileReply struct { Uploaded *bool `protobuf:"varint,1,opt,name=uploaded,proto3,oneof" json:"uploaded,omitempty"` Src *string `protobuf:"bytes,2,opt,name=src,proto3,oneof" json:"src,omitempty"` ChunkSize *uint32 `protobuf:"varint,3,opt,name=chunk_size,json=chunkSize,proto3,oneof" json:"chunk_size,omitempty"` ChunkCount *uint32 `protobuf:"varint,4,opt,name=chunk_count,json=chunkCount,proto3,oneof" json:"chunk_count,omitempty"` UploadId *string `protobuf:"bytes,5,opt,name=upload_id,json=uploadId,proto3,oneof" json:"upload_id,omitempty"` UploadChunks []uint32 `protobuf:"varint,6,rep,packed,name=upload_chunks,json=uploadChunks,proto3" json:"upload_chunks,omitempty"` Sha *string `protobuf:"bytes,7,opt,name=sha,proto3,oneof" json:"sha,omitempty"` // contains filtered or unexported fields }
func (*PrepareUploadFileReply) Descriptor
deprecated
func (*PrepareUploadFileReply) Descriptor() ([]byte, []int)
Deprecated: Use PrepareUploadFileReply.ProtoReflect.Descriptor instead.
func (*PrepareUploadFileReply) GetChunkCount ¶
func (x *PrepareUploadFileReply) GetChunkCount() uint32
func (*PrepareUploadFileReply) GetChunkSize ¶
func (x *PrepareUploadFileReply) GetChunkSize() uint32
func (*PrepareUploadFileReply) GetSha ¶
func (x *PrepareUploadFileReply) GetSha() string
func (*PrepareUploadFileReply) GetSrc ¶
func (x *PrepareUploadFileReply) GetSrc() string
func (*PrepareUploadFileReply) GetUploadChunks ¶
func (x *PrepareUploadFileReply) GetUploadChunks() []uint32
func (*PrepareUploadFileReply) GetUploadId ¶
func (x *PrepareUploadFileReply) GetUploadId() string
func (*PrepareUploadFileReply) GetUploaded ¶
func (x *PrepareUploadFileReply) GetUploaded() bool
func (*PrepareUploadFileReply) ProtoMessage ¶
func (*PrepareUploadFileReply) ProtoMessage()
func (*PrepareUploadFileReply) ProtoReflect ¶
func (x *PrepareUploadFileReply) ProtoReflect() protoreflect.Message
func (*PrepareUploadFileReply) Reset ¶
func (x *PrepareUploadFileReply) Reset()
func (*PrepareUploadFileReply) String ¶
func (x *PrepareUploadFileReply) String() string
func (*PrepareUploadFileReply) Validate ¶
func (m *PrepareUploadFileReply) Validate() error
Validate checks the field values on PrepareUploadFileReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PrepareUploadFileReply) ValidateAll ¶
func (m *PrepareUploadFileReply) ValidateAll() error
ValidateAll checks the field values on PrepareUploadFileReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PrepareUploadFileReplyMultiError, or nil if none found.
type PrepareUploadFileReplyMultiError ¶
type PrepareUploadFileReplyMultiError []error
PrepareUploadFileReplyMultiError is an error wrapping multiple validation errors returned by PrepareUploadFileReply.ValidateAll() if the designated constraints aren't met.
func (PrepareUploadFileReplyMultiError) AllErrors ¶
func (m PrepareUploadFileReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PrepareUploadFileReplyMultiError) Error ¶
func (m PrepareUploadFileReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PrepareUploadFileReplyValidationError ¶
type PrepareUploadFileReplyValidationError struct {
// contains filtered or unexported fields
}
PrepareUploadFileReplyValidationError is the validation error returned by PrepareUploadFileReply.Validate if the designated constraints aren't met.
func (PrepareUploadFileReplyValidationError) Cause ¶
func (e PrepareUploadFileReplyValidationError) Cause() error
Cause function returns cause value.
func (PrepareUploadFileReplyValidationError) Error ¶
func (e PrepareUploadFileReplyValidationError) Error() string
Error satisfies the builtin error interface
func (PrepareUploadFileReplyValidationError) ErrorName ¶
func (e PrepareUploadFileReplyValidationError) ErrorName() string
ErrorName returns error name.
func (PrepareUploadFileReplyValidationError) Field ¶
func (e PrepareUploadFileReplyValidationError) Field() string
Field function returns field value.
func (PrepareUploadFileReplyValidationError) Key ¶
func (e PrepareUploadFileReplyValidationError) Key() bool
Key function returns key value.
func (PrepareUploadFileReplyValidationError) Reason ¶
func (e PrepareUploadFileReplyValidationError) Reason() string
Reason function returns reason value.
type PrepareUploadFileRequest ¶
type PrepareUploadFileRequest struct { DirectoryId uint32 `protobuf:"varint,1,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` DirectoryPath string `protobuf:"bytes,2,opt,name=directory_path,json=directoryPath,proto3" json:"directory_path,omitempty"` App string `protobuf:"bytes,3,opt,name=app,proto3" json:"app,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Sha string `protobuf:"bytes,5,opt,name=sha,proto3" json:"sha,omitempty"` Size uint32 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*PrepareUploadFileRequest) Descriptor
deprecated
func (*PrepareUploadFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use PrepareUploadFileRequest.ProtoReflect.Descriptor instead.
func (*PrepareUploadFileRequest) GetApp ¶
func (x *PrepareUploadFileRequest) GetApp() string
func (*PrepareUploadFileRequest) GetDirectoryId ¶
func (x *PrepareUploadFileRequest) GetDirectoryId() uint32
func (*PrepareUploadFileRequest) GetDirectoryPath ¶
func (x *PrepareUploadFileRequest) GetDirectoryPath() string
func (*PrepareUploadFileRequest) GetName ¶
func (x *PrepareUploadFileRequest) GetName() string
func (*PrepareUploadFileRequest) GetSha ¶
func (x *PrepareUploadFileRequest) GetSha() string
func (*PrepareUploadFileRequest) GetSize ¶
func (x *PrepareUploadFileRequest) GetSize() uint32
func (*PrepareUploadFileRequest) ProtoMessage ¶
func (*PrepareUploadFileRequest) ProtoMessage()
func (*PrepareUploadFileRequest) ProtoReflect ¶
func (x *PrepareUploadFileRequest) ProtoReflect() protoreflect.Message
func (*PrepareUploadFileRequest) Reset ¶
func (x *PrepareUploadFileRequest) Reset()
func (*PrepareUploadFileRequest) String ¶
func (x *PrepareUploadFileRequest) String() string
func (*PrepareUploadFileRequest) Validate ¶
func (m *PrepareUploadFileRequest) Validate() error
Validate checks the field values on PrepareUploadFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PrepareUploadFileRequest) ValidateAll ¶
func (m *PrepareUploadFileRequest) ValidateAll() error
ValidateAll checks the field values on PrepareUploadFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PrepareUploadFileRequestMultiError, or nil if none found.
type PrepareUploadFileRequestMultiError ¶
type PrepareUploadFileRequestMultiError []error
PrepareUploadFileRequestMultiError is an error wrapping multiple validation errors returned by PrepareUploadFileRequest.ValidateAll() if the designated constraints aren't met.
func (PrepareUploadFileRequestMultiError) AllErrors ¶
func (m PrepareUploadFileRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PrepareUploadFileRequestMultiError) Error ¶
func (m PrepareUploadFileRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PrepareUploadFileRequestValidationError ¶
type PrepareUploadFileRequestValidationError struct {
// contains filtered or unexported fields
}
PrepareUploadFileRequestValidationError is the validation error returned by PrepareUploadFileRequest.Validate if the designated constraints aren't met.
func (PrepareUploadFileRequestValidationError) Cause ¶
func (e PrepareUploadFileRequestValidationError) Cause() error
Cause function returns cause value.
func (PrepareUploadFileRequestValidationError) Error ¶
func (e PrepareUploadFileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PrepareUploadFileRequestValidationError) ErrorName ¶
func (e PrepareUploadFileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PrepareUploadFileRequestValidationError) Field ¶
func (e PrepareUploadFileRequestValidationError) Field() string
Field function returns field value.
func (PrepareUploadFileRequestValidationError) Key ¶
func (e PrepareUploadFileRequestValidationError) Key() bool
Key function returns key value.
func (PrepareUploadFileRequestValidationError) Reason ¶
func (e PrepareUploadFileRequestValidationError) Reason() string
Reason function returns reason value.
type ServiceClient ¶
type ServiceClient interface { AllDirectory(ctx context.Context, in *AllDirectoryRequest, opts ...grpc.CallOption) (*AllDirectoryReply, error) AddDirectory(ctx context.Context, in *AddDirectoryRequest, opts ...grpc.CallOption) (*Directory, error) UpdateDirectory(ctx context.Context, in *UpdateDirectoryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteDirectory(ctx context.Context, in *DeleteDirectoryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) PrepareUploadFile(ctx context.Context, in *PrepareUploadFileRequest, opts ...grpc.CallOption) (*PrepareUploadFileReply, error) UploadFile(ctx context.Context, in *UploadFileRequest, opts ...grpc.CallOption) (*UploadFileReply, error) PageFile(ctx context.Context, in *PageFileRequest, opts ...grpc.CallOption) (*PageFileReply, error) GetFileBySha(ctx context.Context, in *GetFileByShaRequest, opts ...grpc.CallOption) (*File, error) UpdateFile(ctx context.Context, in *UpdateFileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteFile(ctx context.Context, in *DeleteFileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
ServiceClient is the client API for Service 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 NewServiceClient ¶
func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient
type ServiceHTTPClient ¶
type ServiceHTTPClient interface { AddDirectory(ctx context.Context, req *AddDirectoryRequest, opts ...http.CallOption) (rsp *Directory, err error) AllDirectory(ctx context.Context, req *AllDirectoryRequest, opts ...http.CallOption) (rsp *AllDirectoryReply, err error) DeleteDirectory(ctx context.Context, req *DeleteDirectoryRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) DeleteFile(ctx context.Context, req *DeleteFileRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) GetFileBySha(ctx context.Context, req *GetFileByShaRequest, opts ...http.CallOption) (rsp *File, err error) PageFile(ctx context.Context, req *PageFileRequest, opts ...http.CallOption) (rsp *PageFileReply, err error) PrepareUploadFile(ctx context.Context, req *PrepareUploadFileRequest, opts ...http.CallOption) (rsp *PrepareUploadFileReply, err error) UpdateDirectory(ctx context.Context, req *UpdateDirectoryRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) UpdateFile(ctx context.Context, req *UpdateFileRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) }
func NewServiceHTTPClient ¶
func NewServiceHTTPClient(client *http.Client) ServiceHTTPClient
type ServiceHTTPClientImpl ¶
type ServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*ServiceHTTPClientImpl) AddDirectory ¶
func (c *ServiceHTTPClientImpl) AddDirectory(ctx context.Context, in *AddDirectoryRequest, opts ...http.CallOption) (*Directory, error)
func (*ServiceHTTPClientImpl) AllDirectory ¶
func (c *ServiceHTTPClientImpl) AllDirectory(ctx context.Context, in *AllDirectoryRequest, opts ...http.CallOption) (*AllDirectoryReply, error)
func (*ServiceHTTPClientImpl) DeleteDirectory ¶
func (c *ServiceHTTPClientImpl) DeleteDirectory(ctx context.Context, in *DeleteDirectoryRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) DeleteFile ¶
func (c *ServiceHTTPClientImpl) DeleteFile(ctx context.Context, in *DeleteFileRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) GetFileBySha ¶
func (c *ServiceHTTPClientImpl) GetFileBySha(ctx context.Context, in *GetFileByShaRequest, opts ...http.CallOption) (*File, error)
func (*ServiceHTTPClientImpl) PageFile ¶
func (c *ServiceHTTPClientImpl) PageFile(ctx context.Context, in *PageFileRequest, opts ...http.CallOption) (*PageFileReply, error)
func (*ServiceHTTPClientImpl) PrepareUploadFile ¶
func (c *ServiceHTTPClientImpl) PrepareUploadFile(ctx context.Context, in *PrepareUploadFileRequest, opts ...http.CallOption) (*PrepareUploadFileReply, error)
func (*ServiceHTTPClientImpl) UpdateDirectory ¶
func (c *ServiceHTTPClientImpl) UpdateDirectory(ctx context.Context, in *UpdateDirectoryRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) UpdateFile ¶
func (c *ServiceHTTPClientImpl) UpdateFile(ctx context.Context, in *UpdateFileRequest, opts ...http.CallOption) (*emptypb.Empty, error)
type ServiceHTTPServer ¶
type ServiceHTTPServer interface { AddDirectory(context.Context, *AddDirectoryRequest) (*Directory, error) AllDirectory(context.Context, *AllDirectoryRequest) (*AllDirectoryReply, error) DeleteDirectory(context.Context, *DeleteDirectoryRequest) (*emptypb.Empty, error) DeleteFile(context.Context, *DeleteFileRequest) (*emptypb.Empty, error) GetFileBySha(context.Context, *GetFileByShaRequest) (*File, error) PageFile(context.Context, *PageFileRequest) (*PageFileReply, error) PrepareUploadFile(context.Context, *PrepareUploadFileRequest) (*PrepareUploadFileReply, error) UpdateDirectory(context.Context, *UpdateDirectoryRequest) (*emptypb.Empty, error) UpdateFile(context.Context, *UpdateFileRequest) (*emptypb.Empty, error) }
type ServiceServer ¶
type ServiceServer interface { AllDirectory(context.Context, *AllDirectoryRequest) (*AllDirectoryReply, error) AddDirectory(context.Context, *AddDirectoryRequest) (*Directory, error) UpdateDirectory(context.Context, *UpdateDirectoryRequest) (*emptypb.Empty, error) DeleteDirectory(context.Context, *DeleteDirectoryRequest) (*emptypb.Empty, error) PrepareUploadFile(context.Context, *PrepareUploadFileRequest) (*PrepareUploadFileReply, error) UploadFile(context.Context, *UploadFileRequest) (*UploadFileReply, error) PageFile(context.Context, *PageFileRequest) (*PageFileReply, error) GetFileBySha(context.Context, *GetFileByShaRequest) (*File, error) UpdateFile(context.Context, *UpdateFileRequest) (*emptypb.Empty, error) DeleteFile(context.Context, *DeleteFileRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility
type UnimplementedServiceServer ¶
type UnimplementedServiceServer struct { }
UnimplementedServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedServiceServer) AddDirectory ¶
func (UnimplementedServiceServer) AddDirectory(context.Context, *AddDirectoryRequest) (*Directory, error)
func (UnimplementedServiceServer) AllDirectory ¶
func (UnimplementedServiceServer) AllDirectory(context.Context, *AllDirectoryRequest) (*AllDirectoryReply, error)
func (UnimplementedServiceServer) DeleteDirectory ¶
func (UnimplementedServiceServer) DeleteDirectory(context.Context, *DeleteDirectoryRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) DeleteFile ¶
func (UnimplementedServiceServer) DeleteFile(context.Context, *DeleteFileRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) GetFileBySha ¶
func (UnimplementedServiceServer) GetFileBySha(context.Context, *GetFileByShaRequest) (*File, error)
func (UnimplementedServiceServer) PageFile ¶
func (UnimplementedServiceServer) PageFile(context.Context, *PageFileRequest) (*PageFileReply, error)
func (UnimplementedServiceServer) PrepareUploadFile ¶
func (UnimplementedServiceServer) PrepareUploadFile(context.Context, *PrepareUploadFileRequest) (*PrepareUploadFileReply, error)
func (UnimplementedServiceServer) UpdateDirectory ¶
func (UnimplementedServiceServer) UpdateDirectory(context.Context, *UpdateDirectoryRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) UpdateFile ¶
func (UnimplementedServiceServer) UpdateFile(context.Context, *UpdateFileRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) UploadFile ¶ added in v1.0.8
func (UnimplementedServiceServer) UploadFile(context.Context, *UploadFileRequest) (*UploadFileReply, error)
type UnsafeServiceServer ¶
type UnsafeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.
type UpdateDirectoryRequest ¶
type UpdateDirectoryRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` App string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UpdateDirectoryRequest) Descriptor
deprecated
func (*UpdateDirectoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDirectoryRequest.ProtoReflect.Descriptor instead.
func (*UpdateDirectoryRequest) GetApp ¶
func (x *UpdateDirectoryRequest) GetApp() string
func (*UpdateDirectoryRequest) GetId ¶
func (x *UpdateDirectoryRequest) GetId() uint32
func (*UpdateDirectoryRequest) GetName ¶
func (x *UpdateDirectoryRequest) GetName() string
func (*UpdateDirectoryRequest) ProtoMessage ¶
func (*UpdateDirectoryRequest) ProtoMessage()
func (*UpdateDirectoryRequest) ProtoReflect ¶
func (x *UpdateDirectoryRequest) ProtoReflect() protoreflect.Message
func (*UpdateDirectoryRequest) Reset ¶
func (x *UpdateDirectoryRequest) Reset()
func (*UpdateDirectoryRequest) String ¶
func (x *UpdateDirectoryRequest) String() string
func (*UpdateDirectoryRequest) Validate ¶
func (m *UpdateDirectoryRequest) Validate() error
Validate checks the field values on UpdateDirectoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateDirectoryRequest) ValidateAll ¶
func (m *UpdateDirectoryRequest) ValidateAll() error
ValidateAll checks the field values on UpdateDirectoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateDirectoryRequestMultiError, or nil if none found.
type UpdateDirectoryRequestMultiError ¶
type UpdateDirectoryRequestMultiError []error
UpdateDirectoryRequestMultiError is an error wrapping multiple validation errors returned by UpdateDirectoryRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateDirectoryRequestMultiError) AllErrors ¶
func (m UpdateDirectoryRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDirectoryRequestMultiError) Error ¶
func (m UpdateDirectoryRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDirectoryRequestValidationError ¶
type UpdateDirectoryRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateDirectoryRequestValidationError is the validation error returned by UpdateDirectoryRequest.Validate if the designated constraints aren't met.
func (UpdateDirectoryRequestValidationError) Cause ¶
func (e UpdateDirectoryRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateDirectoryRequestValidationError) Error ¶
func (e UpdateDirectoryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDirectoryRequestValidationError) ErrorName ¶
func (e UpdateDirectoryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDirectoryRequestValidationError) Field ¶
func (e UpdateDirectoryRequestValidationError) Field() string
Field function returns field value.
func (UpdateDirectoryRequestValidationError) Key ¶
func (e UpdateDirectoryRequestValidationError) Key() bool
Key function returns key value.
func (UpdateDirectoryRequestValidationError) Reason ¶
func (e UpdateDirectoryRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateFileRequest ¶
type UpdateFileRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` App string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` DirectoryId uint32 `protobuf:"varint,4,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateFileRequest) Descriptor
deprecated
func (*UpdateFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFileRequest.ProtoReflect.Descriptor instead.
func (*UpdateFileRequest) GetApp ¶
func (x *UpdateFileRequest) GetApp() string
func (*UpdateFileRequest) GetDirectoryId ¶
func (x *UpdateFileRequest) GetDirectoryId() uint32
func (*UpdateFileRequest) GetId ¶
func (x *UpdateFileRequest) GetId() uint32
func (*UpdateFileRequest) GetName ¶
func (x *UpdateFileRequest) GetName() string
func (*UpdateFileRequest) ProtoMessage ¶
func (*UpdateFileRequest) ProtoMessage()
func (*UpdateFileRequest) ProtoReflect ¶
func (x *UpdateFileRequest) ProtoReflect() protoreflect.Message
func (*UpdateFileRequest) Reset ¶
func (x *UpdateFileRequest) Reset()
func (*UpdateFileRequest) String ¶
func (x *UpdateFileRequest) String() string
func (*UpdateFileRequest) Validate ¶
func (m *UpdateFileRequest) Validate() error
Validate checks the field values on UpdateFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateFileRequest) ValidateAll ¶
func (m *UpdateFileRequest) ValidateAll() error
ValidateAll checks the field values on UpdateFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateFileRequestMultiError, or nil if none found.
type UpdateFileRequestMultiError ¶
type UpdateFileRequestMultiError []error
UpdateFileRequestMultiError is an error wrapping multiple validation errors returned by UpdateFileRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateFileRequestMultiError) AllErrors ¶
func (m UpdateFileRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateFileRequestMultiError) Error ¶
func (m UpdateFileRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateFileRequestValidationError ¶
type UpdateFileRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateFileRequestValidationError is the validation error returned by UpdateFileRequest.Validate if the designated constraints aren't met.
func (UpdateFileRequestValidationError) Cause ¶
func (e UpdateFileRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateFileRequestValidationError) Error ¶
func (e UpdateFileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateFileRequestValidationError) ErrorName ¶
func (e UpdateFileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateFileRequestValidationError) Field ¶
func (e UpdateFileRequestValidationError) Field() string
Field function returns field value.
func (UpdateFileRequestValidationError) Key ¶
func (e UpdateFileRequestValidationError) Key() bool
Key function returns key value.
func (UpdateFileRequestValidationError) Reason ¶
func (e UpdateFileRequestValidationError) Reason() string
Reason function returns reason value.
type UploadFileReply ¶
type UploadFileReply struct { Src string `protobuf:"bytes,1,opt,name=src,proto3" json:"src,omitempty"` Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"` // contains filtered or unexported fields }
func (*UploadFileReply) Descriptor
deprecated
func (*UploadFileReply) Descriptor() ([]byte, []int)
Deprecated: Use UploadFileReply.ProtoReflect.Descriptor instead.
func (*UploadFileReply) GetSha ¶
func (x *UploadFileReply) GetSha() string
func (*UploadFileReply) GetSrc ¶
func (x *UploadFileReply) GetSrc() string
func (*UploadFileReply) ProtoMessage ¶
func (*UploadFileReply) ProtoMessage()
func (*UploadFileReply) ProtoReflect ¶
func (x *UploadFileReply) ProtoReflect() protoreflect.Message
func (*UploadFileReply) Reset ¶
func (x *UploadFileReply) Reset()
func (*UploadFileReply) String ¶
func (x *UploadFileReply) String() string
func (*UploadFileReply) Validate ¶
func (m *UploadFileReply) Validate() error
Validate checks the field values on UploadFileReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UploadFileReply) ValidateAll ¶
func (m *UploadFileReply) ValidateAll() error
ValidateAll checks the field values on UploadFileReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadFileReplyMultiError, or nil if none found.
type UploadFileReplyMultiError ¶
type UploadFileReplyMultiError []error
UploadFileReplyMultiError is an error wrapping multiple validation errors returned by UploadFileReply.ValidateAll() if the designated constraints aren't met.
func (UploadFileReplyMultiError) AllErrors ¶
func (m UploadFileReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UploadFileReplyMultiError) Error ¶
func (m UploadFileReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UploadFileReplyValidationError ¶
type UploadFileReplyValidationError struct {
// contains filtered or unexported fields
}
UploadFileReplyValidationError is the validation error returned by UploadFileReply.Validate if the designated constraints aren't met.
func (UploadFileReplyValidationError) Cause ¶
func (e UploadFileReplyValidationError) Cause() error
Cause function returns cause value.
func (UploadFileReplyValidationError) Error ¶
func (e UploadFileReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UploadFileReplyValidationError) ErrorName ¶
func (e UploadFileReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UploadFileReplyValidationError) Field ¶
func (e UploadFileReplyValidationError) Field() string
Field function returns field value.
func (UploadFileReplyValidationError) Key ¶
func (e UploadFileReplyValidationError) Key() bool
Key function returns key value.
func (UploadFileReplyValidationError) Reason ¶
func (e UploadFileReplyValidationError) Reason() string
Reason function returns reason value.
type UploadFileRequest ¶
type UploadFileRequest struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` UploadId string `protobuf:"bytes,2,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"` Index uint32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*UploadFileRequest) Descriptor
deprecated
func (*UploadFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadFileRequest.ProtoReflect.Descriptor instead.
func (*UploadFileRequest) GetData ¶
func (x *UploadFileRequest) GetData() []byte
func (*UploadFileRequest) GetIndex ¶
func (x *UploadFileRequest) GetIndex() uint32
func (*UploadFileRequest) GetUploadId ¶
func (x *UploadFileRequest) GetUploadId() string
func (*UploadFileRequest) ProtoMessage ¶
func (*UploadFileRequest) ProtoMessage()
func (*UploadFileRequest) ProtoReflect ¶
func (x *UploadFileRequest) ProtoReflect() protoreflect.Message
func (*UploadFileRequest) Reset ¶
func (x *UploadFileRequest) Reset()
func (*UploadFileRequest) String ¶
func (x *UploadFileRequest) String() string
func (*UploadFileRequest) Validate ¶
func (m *UploadFileRequest) Validate() error
Validate checks the field values on UploadFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UploadFileRequest) ValidateAll ¶
func (m *UploadFileRequest) ValidateAll() error
ValidateAll checks the field values on UploadFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadFileRequestMultiError, or nil if none found.
type UploadFileRequestMultiError ¶
type UploadFileRequestMultiError []error
UploadFileRequestMultiError is an error wrapping multiple validation errors returned by UploadFileRequest.ValidateAll() if the designated constraints aren't met.
func (UploadFileRequestMultiError) AllErrors ¶
func (m UploadFileRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UploadFileRequestMultiError) Error ¶
func (m UploadFileRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UploadFileRequestValidationError ¶
type UploadFileRequestValidationError struct {
// contains filtered or unexported fields
}
UploadFileRequestValidationError is the validation error returned by UploadFileRequest.Validate if the designated constraints aren't met.
func (UploadFileRequestValidationError) Cause ¶
func (e UploadFileRequestValidationError) Cause() error
Cause function returns cause value.
func (UploadFileRequestValidationError) Error ¶
func (e UploadFileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UploadFileRequestValidationError) ErrorName ¶
func (e UploadFileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UploadFileRequestValidationError) Field ¶
func (e UploadFileRequestValidationError) Field() string
Field function returns field value.
func (UploadFileRequestValidationError) Key ¶
func (e UploadFileRequestValidationError) Key() bool
Key function returns key value.
func (UploadFileRequestValidationError) Reason ¶
func (e UploadFileRequestValidationError) Reason() string
Reason function returns reason value.