feat: add download from alioss job

This commit is contained in:
yanghao05
2025-04-17 20:42:57 +08:00
parent d961c1a4a5
commit 9323fb4230
6 changed files with 129 additions and 14 deletions

View File

@@ -40,10 +40,10 @@ func Provide(opts ...opt.Option) error {
WithCredentialsProvider(cred).
WithRegion(config.Region)
ossClient := oss.NewClient(cfg)
return &OSSClient{
client: ossClient,
config: &config,
client: oss.NewClient(cfg),
internalClient: oss.NewClient(cfg.WithUseInternalEndpoint(true)),
config: &config,
}, nil
}, o.DiOptions()...)
}