Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Info embed.FS
Functions ¶
This section is empty.
Types ¶
type CDN ¶
type CDN struct {
Config *CDNConfig
}
func (*CDN) CheckFileType ¶
func (*CDN) ConfigFields ¶
func (c *CDN) ConfigFields() []plugin.ConfigField
func (*CDN) ConfigReceiver ¶
func (*CDN) GetStaticPrefix ¶
GetStaticPrefix get static prefix
type CDNConfig ¶
type CDNConfig struct { Endpoint string `json:"endpoint"` BucketName string `json:"bucket_name"` ObjectKeyPrefix string `json:"object_key_prefix"` AccessKeyID string `json:"access_key_id"` AccessKeySecret string `json:"access_key_secret"` VisitUrlPrefix string `json:"visit_url_prefix"` MaxFileSize string `json:"max_file_size"` }
type CustomFile ¶
type CustomFile struct {
// contains filtered or unexported fields
}
func (*CustomFile) Close ¶
func (f *CustomFile) Close() error
Click to show internal directories.
Click to hide internal directories.