qiniu

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: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultDownloadUrlExpire       = time.Minute * 5
	DefaultSimpleUploadTokenExpire = 7200
)

Variables

This section is empty.

Functions

func New

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

Types

type Config

type Config struct {
	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