Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Logger *zap.SugaredLogger
)
Functions ¶
This section is empty.
Types ¶
type COSHostingService ¶
type COSHostingService struct {
// contains filtered or unexported fields
}
COSHostingService 腾讯云对象存储图床服务 Go SDK文档 https://cloud.tencent.com/document/product/436/31215
func NewCOSHostingService ¶
func NewCOSHostingService(bucketName, secretId, secretKey string) (*COSHostingService, error)
func (*COSHostingService) IsHostingURL ¶
func (svc *COSHostingService) IsHostingURL(imgUrl *url.URL) bool
Click to show internal directories.
Click to hide internal directories.