Documentation ¶
Index ¶
Constants ¶
View Source
const ( STATUS_UPLOADED = iota STATUS_UPLOADING = iota STATUS_NOT_FOUND = iota )
Variables ¶
View Source
var ( ErrAlreadyExists = errors.New("Upload already exists") ErrFailedFetchObject = errors.New("Failed fetching object") ErrFailedFetchObjectProof = errors.New("Failed fetching object proof") ErrFailedFetchTusObject = errors.New("Failed fetching tus object") ErrFailedHashFile = errors.New("Failed to hash file") ErrFailedQueryTusUpload = errors.New("Failed to query tus uploads") ErrFailedQueryUpload = errors.New("Failed to query uploads") ErrFailedQueryPins = errors.New("Failed to query pins") ErrFailedSaveUpload = errors.New("Failed saving upload to db") ErrFailedSavePin = errors.New("Failed saving pin to db") ErrFailedUpload = errors.New("Failed uploading object") ErrFailedUploadProof = errors.New("Failed uploading object proof") ErrFileExistsOutOfSync = errors.New("File already exists in network, but missing in database") ErrFileHashMismatch = errors.New("File hash does not match provided file hash") ErrInvalidFile = errors.New("Invalid file") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.