uploader

package
v0.0.0-...-bc13906 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	UploadFile(string, []byte, string) (string, error)
}

Service interface define upload method

func New

func New(bucketName, region, url string, uploaderType enum.UploadPlatform) Service

New initialize uploader service

type Uploader

type Uploader interface {
	Upload(string, []byte, string) (string, error)
}

Uploader interface that define upload behavior

Jump to

Keyboard shortcuts

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