# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
swagger:route POST /v1/connection/create/{allocation} PostConnection Store connection in DB.
No description provided by the author
No description provided by the author
DownloadHandler is the handler to respond to download requests from clients*/.
No description provided by the author
swagger:route GET /v1/file/meta/{allocation} GetFileMeta Get file meta data.
No description provided by the author
No description provided by the author
swagger:route GET /v1/auth/generate GetAuthTicket Generate blobber authentication ticket.
No description provided by the author
No description provided by the author
swagger:route GET /challenge-timings-by-challengeId GetChallengeTimingByChallengeID Get challenge timing by challenge ID.
swagger:route GET /challengetimings GetChallengeTimings Get challenge timings.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
nolint:gosimple // need more time to verify.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
swagger:route GET /v1/marketplace/shareinfo/{allocation} GetListShareInfo List shared files.
swagger:route GET /v1/playlist/latest/{allocation} GetPlaylist Get playlist.
swagger:route GET /v1/playlist/file/{allocation} GetPlaylistFile Get playlist file.
LoadRootHashnode load root node with its descendant nodes.
swagger:route POST /v1/writemarker/lock/{allocation} PostLockWriteMarker Lock a write marker.
No description provided by the author
No description provided by the author
No description provided by the author
PrintCSS - print the common css elements.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
swagger:route GET /v1/file/referencepath/{allocation} GetReferencePath Get reference path.
No description provided by the author
No description provided by the author
RegisterBlobber register blobber if it is not registered yet.
No description provided by the author
No description provided by the author
No description provided by the author
SendHealthCheck send heartbeat to blockchain.
No description provided by the author
SetupHandlers sets up the necessary API end points */.
No description provided by the author
No description provided by the author
todo wrap with connection.
No description provided by the author
No description provided by the author
swagger:route DELETE /v1/writemarker/lock/{allocation}/{connection} DeleteLockWriteMarker Unlock a write marker.
UploadHandler is the handler to respond to upload requests fro clients*/.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Should only be used for handlers where the writemarker is submitted.
No description provided by the author
WithTxHandler process handler to respond request.
WithVerify verify allocation and signature.
swagger:route GET /v1/file/latestwritemarker/{allocation} GetLatestWriteMarker Get latest write marker.
# Constants
Commit Request Per Second.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EncryptionHeaderSize encryption header size in chunk: PRE.MessageChecksum(128)"+PRE.OverallChecksum(128).
File Request Per Second.
gigabyte.
General Request Per Second.
kilobyte.
1000 rows will make up to 1000 KB.
No description provided by the author
megabyte.
Object Request Per Second.
No description provided by the author
30 days.
ReEncryptionHeaderSize re-encryption header size in chunk.
to set deadline for requests.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
ErrBlobberHasRemoved represents service health check error, where the blobber has removed (by owner, in case the blobber doesn't provide its service anymore).
ErrBlobberNotFound it is not registered on chain.
ErrValidatorHasRemoved represents service health check error, where the Validator has removed (by owner, in case the Validator doesn't provide its service anymore).
ErrValidatorNotFound it is not registered on chain.
No description provided by the author
# Structs
swagger:model AuthTicketResponse.
No description provided by the author
No description provided by the author
Context api context.
DeleteFileCommand command for deleting file.
No description provided by the author
DownloadRequestHeader metedata of download request.
No description provided by the author
PREChunkEncoder encode and decode chunk data with PREEncryptionScheme if file is shared with auth token.
No description provided by the author
RawChunkEncoder raw chunk data.
No description provided by the author
UpdateFileCommand command for updating file.
UploadFileCommand command for resuming file.
No description provided by the author
No description provided by the author
# Interfaces
ChunkEncoder encode/decode chunk data.