uploader

package
v0.0.0-...-72dfc82 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFS

func NewFS() *fs

func NewOss

func NewOss(bucket, endpoint, accessID, accessKey string) (ipa.Uploader, error)

Types

type OSSUploader

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

func (*OSSUploader) Upload

func (o *OSSUploader) Upload(ctx context.Context, r io.Reader, path string) (url string, err error)

Jump to

Keyboard shortcuts

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