Documentation ¶
Index ¶
Constants ¶
View Source
const ( PIN_STATUS_QUEUED = "queued" // queued PIN_STATUS_PINNING = "pinning" // pinning PIN_STATUS_PINNED = "pinned" // pinned PIN_STATUS_FAILED = "failed" // failed )
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 DealInfo ¶
type DealInfo struct { BatchRootCid string `json:"batchRootCid"` LastChange string `json:"lastChange"` Miner string `json:"miner"` Network string `json:"network"` PieceCid string `json:"pieceCid"` Status string `json:"status"` StatusText string `json:"statusText"` ChainDealID int64 `json:"chainDealID"` DealActivation string `json:"dealActivation"` DealExpiration string `json:"dealExpiration"` }
type DeleteResponse200 ¶
type DeleteResponse200 struct {
OK bool `json:"ok"`
}
type Response200 ¶
type Response404 ¶
Click to show internal directories.
Click to hide internal directories.