Documentation ¶
Index ¶
Constants ¶
View Source
const ( TrackerStatusUndefined = "undefined" TrackerStatusClusterError = "cluster_error" TrackerStatusPinError = "pin_error" TrackerStatusUnpinError = "unpin_error" TrackerStatusError = "error" TrackerStatusPinned = "pinned" TrackerStatusPinning = "pinning" TrackerStatusUnpinning = "unpinning" TrackerStatusUnpinned = "unpinned" TrackerStatusRemote = "remote" TrackerStatusPinQueued = "pin_queued" TrackerStatusUnpinQueued = "unpin_queued" TrackerStatusQueued = "queued" TrackerStatusSharded = "sharded" TrackerStatusUnexpectedlyUnpinned = "unexpectedly_unpinned" )
View Source
const (
MAX_REQUEST_BODY_SIZE = 1024 * 1024 * 99 // 99 MiB
)
Variables ¶
View Source
var ErrRequestBodyLimit = errors.New("body size max limit 99MiB")
Functions ¶
Types ¶
type DeleteResponse200 ¶
type PeerPinStatus ¶
type Response200 ¶
type ResponseCar200 ¶
type ResponseCid200 ¶
type StatusResponse200 ¶
type StatusResponse200 struct { CID string `json:"cid"` Name string `json:"name"` Allocations []string `json:"allocations"` PeerMap map[string]PeerPinStatus `json:"peer_map"` }
Click to show internal directories.
Click to hide internal directories.