Documentation ¶
Index ¶
- type Master
- func (m *Master) Bootstrap() (e error)
- func (m *Master) ForceReannounce(wid string) error
- func (m *Master) GetConnectedWorkers() (_ map[string]*swarm.SwarmWorker)
- func (*Master) IsMaster() bool
- func (m *Master) Register(ctx context.Context, req *pb.RegistrationRequest) (_ *emptypb.Empty, e error)
- func (m *Master) RemoveTorrent(wid string, name string, hash string, wdata ...bool) (uint64, uint64, error)
- func (m *Master) RequestFreeSpaceFromWorker(wid string) (uint64, error)
- func (m *Master) RequestTorrentsFromWorker(wid string) ([]*deluge.Torrent, error)
- func (m *Master) SaveTorrentFile(wid string, fname string, fbytes *[]byte) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Master ¶
type Master struct {
// contains filtered or unexported fields
}
func (*Master) ForceReannounce ¶
func (*Master) GetConnectedWorkers ¶
func (m *Master) GetConnectedWorkers() (_ map[string]*swarm.SwarmWorker)
func (*Master) RemoveTorrent ¶
func (*Master) RequestFreeSpaceFromWorker ¶
func (*Master) RequestTorrentsFromWorker ¶
Click to show internal directories.
Click to hide internal directories.