Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { // WatchSeedProgress watch task seed progress WatchSeedProgress(ctx context.Context, clientAddr string, taskID string) (<-chan *task.PieceInfo, error) // PublishPiece publish piece seed PublishPiece(ctx context.Context, taskID string, piece *task.PieceInfo) error // PublishTask publish task seed PublishTask(ctx context.Context, taskID string, task *task.SeedTask) error }
Manager as an interface defines all operations about seed progress
Click to show internal directories.
Click to hide internal directories.