package
Version:
v0.9.0
Opens a new window with list of versions in this module.
Published: May 19, 2020
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
¶
-
func Delete(ctx context.Context, module, version string, delete Deleter, ...) error
-
func Upload(ctx context.Context, module, version string, info, mod, zip io.Reader, ...) error
-
type Deleter
-
type Uploader
Delete deletes .info, .mod and .zip files from the blob store in parallel.
Returns multierror containing errors from all deletes and timeouts
Upload saves .info, .mod and .zip files to the blob store in parallel.
Returns multierror containing errors from all uploads and timeouts
Deleter takes a path to a file and deletes it from the blob store
Uploader takes a stream and saves it to the blob store under a given path
Source Files
¶
Click to show internal directories.
Click to hide internal directories.