Prepare verified laboratory 7 implementation and evidence

This commit is contained in:
rey
2026-11-17 17:32:06 +03:00
parent 20afc2c790
commit eb1b5c7b84
677 changed files with 208256 additions and 64 deletions
+20
View File
@@ -0,0 +1,20 @@
package port
import (
"context"
"io"
"time"
)
type Object struct {
Key, ETag string
Size int64
Modified time.Time
}
type Objects interface {
Put(context.Context, string, io.Reader, int64, string) error
Get(context.Context, string) (io.ReadCloser, error)
Stat(context.Context, string) (Object, error)
Remove(context.Context, string) error
List(context.Context, string) ([]Object, bool, error)
}