Documentation ¶
Index ¶
- type TencentOss
- func (t *TencentOss) CheckExts(filename string) bool
- func (t *TencentOss) CheckSize(file multipart.File) bool
- func (t *TencentOss) Delete(name ...string) (int, error)
- func (t *TencentOss) GetAccessUrl(prefix, name string) string
- func (t *TencentOss) Save(p string, header *multipart.FileHeader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TencentOss ¶
type TencentOss struct { *setting.App *setting.TencentOSS }
func (*TencentOss) CheckExts ¶
func (t *TencentOss) CheckExts(filename string) bool
func (*TencentOss) GetAccessUrl ¶
func (t *TencentOss) GetAccessUrl(prefix, name string) string
func (*TencentOss) Save ¶
func (t *TencentOss) Save(p string, header *multipart.FileHeader) error
Click to show internal directories.
Click to hide internal directories.