mirror of
https://tangled.org/evan.jarrett.net/at-container-registry
synced 2026-09-19 16:54:15 +00:00
fmt
This commit is contained in:
@@ -25,8 +25,8 @@ type QuotaStats struct {
|
||||
UserDID string `json:"userDid"`
|
||||
UniqueBlobs int `json:"uniqueBlobs"`
|
||||
TotalSize int64 `json:"totalSize"`
|
||||
Limit *int64 `json:"limit,omitempty"` // nil = unlimited
|
||||
Berth string `json:"berth,omitempty"` // e.g., "deckhand", "bosun", "owner"
|
||||
Limit *int64 `json:"limit,omitempty"` // nil = unlimited
|
||||
Berth string `json:"berth,omitempty"` // e.g., "deckhand", "bosun", "owner"
|
||||
}
|
||||
|
||||
func (h *StorageHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
@@ -66,7 +66,7 @@ type QuotaStats struct {
|
||||
UserDID string `json:"userDid"`
|
||||
UniqueBlobs int `json:"uniqueBlobs"`
|
||||
TotalSize int64 `json:"totalSize"`
|
||||
Limit *int64 `json:"limit,omitempty"` // nil = unlimited
|
||||
Limit *int64 `json:"limit,omitempty"` // nil = unlimited
|
||||
Berth string `json:"berth,omitempty"` // nautical rank for quota tier
|
||||
}
|
||||
|
||||
|
||||
@@ -47,8 +47,8 @@ type XRPCHandler struct {
|
||||
s3Service s3.S3Service
|
||||
storageDriver driver.StorageDriver
|
||||
broadcaster *EventBroadcaster
|
||||
httpClient HTTPClient // For testing - allows injecting mock HTTP client
|
||||
quotaMgr *quota.Manager // Quota manager for tier-based limits
|
||||
httpClient HTTPClient // For testing - allows injecting mock HTTP client
|
||||
quotaMgr *quota.Manager // Quota manager for tier-based limits
|
||||
}
|
||||
|
||||
// PartInfo represents a completed part in a multipart upload
|
||||
|
||||
Reference in New Issue
Block a user