Files
mtusi2026lab5/internal/storage/object_cleanup_storage.go

17 lines
293 B
Go

package storage
import (
"context"
"time"
)
type ObjectCleanup interface {
ListPage(ctx context.Context, token *string, prefix string) ([]ObjectInfo, *string, error)
Delete(ctx context.Context, key string) error
}
type ObjectInfo struct {
Key string
LastModified time.Time
}