package
Version:
v1.8.37
Opens a new window with list of versions in this module.
Published: Jul 22, 2023
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"`
AllowExt string `json:"allowExt"`
}
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.