package
Version:
v0.6.2
Opens a new window with list of versions in this module.
Published: Aug 11, 2022
License: Zlib
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Access struct {
AccessKey string `json:"acsKey"`
SecretKey string `json:"secret"`
EndPoint string `json:"endpoint"`
Region string `json:"region"`
}
type BucketInfo struct {
Name string `json:"name"`
Host string `json:"host"`
DefaultUploadDir string `json:"defaultUploadDir"`
AllowExtList []string `json:"allowExtList"`
}
type Config struct {
Access
TokenCallbackUrl string `json:"tokenCallbackUrl"`
Expires int64 `json:"expires"`
UseHTTPS bool `json:"useHttps"`
UseCdn bool `json:"useCdn"`
FileConfig FileConfig `json:"fileConfig"`
}
type FileConfig struct {
MinChunkSize int64 `json:"minChunkSize"`
Cdn string `json:"fileCdn"`
TmpPath string `json:"tmpPath"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.