uploader

package
v1.7.11 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: Apache-2.0 Imports: 24 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 interface {
	Upload(string, string, types.OutputType, bool) (string, int64, error)
}

func New

func New(conf config.UploadConfig, backup string) (Uploader, error)

Jump to

Keyboard shortcuts

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