uploader

package
v0.15.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2024 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Context      context.Context
	Bucket       string
	Path         string
	Body         io.Reader
	ContentType  *string
	CacheControl *string
}

Options presents the set of options to the Upload method.

type Uploader

type Uploader interface {
	Upload(Options) error
	Delete(Options) error
}

Uploader is an interface used to upload objects to remote object store servers.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL