Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
func NewPublisher ¶
func NewPublisher( ctx context.Context, cm *system.CleanupManager, config PublisherConfig, ) (*Publisher, error)
func (*Publisher) PublishResult ¶ added in v0.3.24
type PublisherConfig ¶
type PublisherConfig struct { // How long the deal for the data should be created for StorageDuration time.Duration // Location of the Lotus configuration directory - either $LOTUS_PATH or ~/.lotus PathDir string // Directory to use when uploading content to Lotus - optional UploadDir string // How close miner should be when selecting the cheapest MaximumPing time.Duration }
Click to show internal directories.
Click to hide internal directories.