Prepare verified laboratory 6 implementation and evidence

This commit is contained in:
rey
2026-11-17 17:32:06 +03:00
parent 470d9d6f1e
commit 7d56e52fd0
335 changed files with 31206 additions and 72 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)
}