uploader

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliOSSUploader

type AliOSSUploader struct {
	// contains filtered or unexported fields
}

type AzureUploader

type AzureUploader struct {
	// contains filtered or unexported fields
}

type GCPUploader

type GCPUploader struct {
	// contains filtered or unexported fields
}

type S3Uploader

type S3Uploader struct {
	// contains filtered or unexported fields
}

type Uploader

type Uploader struct {
	// contains filtered or unexported fields
}

func New

func New(conf interface{}, backup string) (*Uploader, error)

func (*Uploader) Upload

func (u *Uploader) Upload(localFilepath, storageFilepath string, outputType types.OutputType) (string, int64, error)

Jump to

Keyboard shortcuts

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