Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { TargetDir string `help:"directory to collect csv files with piece IDs" default:"."` NodeID string `help:"node ID of the Storagenode to collect piece IDs for"` }
Config is the configuration for the piece list observer.
type Fork ¶
type Fork struct {
// contains filtered or unexported fields
}
Fork is a partial implementation that writes pieces to a file.
type PieceList ¶
type PieceList struct {
// contains filtered or unexported fields
}
PieceList is an observer that collects piece IDs for a node.
func NewPieceList ¶
NewPieceList creates a new piece list observer.
Click to show internal directories.
Click to hide internal directories.