uniugm/admin/lib/dfs/dfs.go

12 lines
254 B
Go
Raw Normal View History

2025-07-07 17:07:58 +08:00
package dfs
type IDfs interface {
GetObj(path string) ([]byte, error)
PutObj(path string, content []byte) error
Close()
}
func NewDfsCos(secretId, secretKey, bucket string, region string) IDfs {
return newCos(secretId, secretKey, bucket, region)
}