Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { clientutil.KeepAlive ServeDownload(listener net.Listener) error ServePeer(listener net.Listener) error Stop() }
func NewManager ¶
func NewManager(peerHost *scheduler.PeerHost, peerTaskManager peer.TaskManager, storageManager storage.Manager, downloadOpts []grpc.ServerOption, peerOpts []grpc.ServerOption) (Manager, error)
Click to show internal directories.
Click to hide internal directories.