feat(domain,storage/s3):lab4 add ObjectStorage.Ping

This commit is contained in:
Голиков Maximillian Антон
2026-10-22 15:34:56 +03:00
parent 1755a64f1a
commit 4d28ae549a
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -13,6 +13,7 @@ type ObjectInfo struct {
}
type ObjectStorage interface {
Ping(ctx context.Context) error
Put(ctx context.Context, key string, r io.Reader, size int64, contentType string) error
Get(ctx context.Context, key string) (io.ReadCloser, int64, string, error)
Delete(ctx context.Context, key string) error