This commit is contained in:
Alex Shevchuk
2025-08-18 17:12:04 +03:00
commit d84487d238
157 changed files with 160686 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
package object_storage
func New(c Config, t ClientType) (Client, error) {
switch t {
case ClientTypeS3:
return newS3Storage(c)
default:
return nil, ErrUnknownClient
}
}