Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BlobUploader ¶
type BlobUploader struct { *packages_model.PackageBlobUpload *packages_module.MultiHasher // contains filtered or unexported fields }
BlobUploader handles chunked blob uploads
func NewBlobUploader ¶
func NewBlobUploader(ctx context.Context, id string) (*BlobUploader, error)
NewBlobUploader creates a new blob uploader for the given id
func (*BlobUploader) Read ¶
func (u *BlobUploader) Read(p []byte) (int, error)
Read implements io.Reader
func (*BlobUploader) Size ¶
func (u *BlobUploader) Size() int64
Click to show internal directories.
Click to hide internal directories.