Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Daemon ¶
type Daemon interface { Serve() error Stop() // ExportTaskManager returns the underlay peer.TaskManager for downloading when embed dragonfly in custom binary ExportTaskManager() peer.TaskManager // ExportPeerHost returns the underlay scheduler.PeerHost for scheduling ExportPeerHost() *scheduler.PeerHost }
func New ¶
func New(opt *config.DaemonOption) (Daemon, error)
Directories ¶
Path | Synopsis |
---|---|
mock/daemon
Package mock_server is a generated GoMock package.
|
Package mock_server is a generated GoMock package. |
mock/peer
Package mock_peer is a generated GoMock package.
|
Package mock_peer is a generated GoMock package. |
mock/scheduler
Package mock_client is a generated GoMock package.
|
Package mock_client is a generated GoMock package. |
mock/service
Package mock_service is a generated GoMock package.
|
Package mock_service is a generated GoMock package. |
mock/storage
Package mock_storage is a generated GoMock package.
|
Package mock_storage is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.