Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Car ¶
type Car struct { Reporter `bson:",inline"` DatasetID *uint32 `bson:"datasetId,omitempty"` DatasetName string `bson:"datasetName,omitempty"` SourceType *string `bson:"sourceType,omitempty"` OutputType *string `bson:"outputType,omitempty"` SourceID *uint32 `bson:"sourceId,omitempty"` CreatedAt time.Time `bson:"createdAt"` CarID int64 `bson:"carId,omitempty"` PieceCID string `bson:"pieceCid"` PieceSize int64 `bson:"pieceSize"` FileSize int64 `bson:"fileSize"` NumOfFiles int64 `bson:"numOfFiles"` TimeSpent time.Duration `bson:"timeSpent,omitempty"` }
type ClientMapping ¶
type Deal ¶
type Deal struct { ID primitive.ObjectID `bson:"_id,omitempty"` Reporter `bson:",inline"` CreatedAt time.Time `bson:"createdAt"` DealID *uint64 `bson:"dealId,omitempty"` DatasetID *uint32 `bson:"datasetId,omitempty"` Client string `bson:"client"` Provider string `bson:"provider"` Label string `bson:"label"` PieceCID string `bson:"pieceCid"` PieceSize int64 `bson:"pieceSize"` State string `bson:"state"` StartEpoch *int32 `bson:"startEpoch,omitempty"` SectorStartEpoch *int32 `bson:"sectorStartEpoch,omitempty"` Duration int32 `bson:"duration,omitempty"` EndEpoch *int32 `bson:"endEpoch,omitempty"` Verified bool `bson:"verified"` KeepUnsealed *bool `bson:"keepUnsealed,omitempty"` Price float64 `bson:"price"` // Fil per epoch per GiB }
Click to show internal directories.
Click to hide internal directories.