Documentation ¶
Index ¶
- Variables
- type CosSDK
- func (s *CosSDK) BatchImageAuditing(ctx context.Context, opt *cos.BatchImageAuditingOptions) (*cos.BatchImageAuditingJobResult, *cos.Response, error)
- func (s *CosSDK) Delete(ctx context.Context, name string, opt ...*cos.ObjectDeleteOptions) (*cos.Response, error)
- func (s *CosSDK) GenerateURL(path string, ttl int) string
- func (s *CosSDK) GetCredential(ctx context.Context, opt *sts.CredentialOptions, isFile bool) (*sts.CredentialResult, error)
- func (s *CosSDK) GetPresignedURL(ctx context.Context, httpMethod, name, ak, sk string, expired time.Duration, ...) (*url.URL, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var CosSet = wire.NewSet( NewCosSDK, )
Functions ¶
This section is empty.
Types ¶
type CosSDK ¶
func (*CosSDK) BatchImageAuditing ¶
func (*CosSDK) GetCredential ¶
func (s *CosSDK) GetCredential(ctx context.Context, opt *sts.CredentialOptions, isFile bool) (*sts.CredentialResult, error)
Click to show internal directories.
Click to hide internal directories.