Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadConsumer ¶
type DownloadConsumer struct {
// contains filtered or unexported fields
}
func NewConsumer ¶
func NewConsumer( cfg *config.Dendrite, feddomains *common.FedDomains, fedClient *client.FedClientWrap, db model.ContentDatabase, repo *repos.DownloadStateRepo, ) *DownloadConsumer
func (*DownloadConsumer) AddReq ¶
func (p *DownloadConsumer) AddReq(domain, netdiskID string)
AddReq 不会保存到数据库
func (*DownloadConsumer) Start ¶
func (p *DownloadConsumer) Start() error
type DownloadInfo ¶
type DownloadInfo struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.