aliyun

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultDownloadUrlExpire = 300 * time.Second

Variables

This section is empty.

Functions

func New

func New(protocol storage.Protocol, conf Config) *aliyunProvider

Types

type Config

type Config struct {
	EndPoint  string `json:"endPoint"`
	AccessKey string `json:"accessKey"`
	SecretKey string `json:"secretKey"`
	Bucket    string `json:"bucket"`
	Domain    string `json:"domain"`
}

Jump to

Keyboard shortcuts

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