Documentation ¶
Index ¶
- func Once(speed *Speed, proxy interfaces.Vendor, cfg *interfaces.SlaveRequestConfigsV2)
- func RefetchDownloadFiles(proxy interfaces.Vendor, file string) []string
- func SingleThread(downloadFiles []string, proxy interfaces.Vendor, timeoutSeconds int64, ...) context.CancelFunc
- type Speed
- type WriteCounter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Once ¶
func Once(speed *Speed, proxy interfaces.Vendor, cfg *interfaces.SlaveRequestConfigsV2)
func RefetchDownloadFiles ¶
func RefetchDownloadFiles(proxy interfaces.Vendor, file string) []string
func SingleThread ¶
func SingleThread(downloadFiles []string, proxy interfaces.Vendor, timeoutSeconds int64, wc *WriteCounter) context.CancelFunc
Types ¶
type Speed ¶
func (*Speed) Run ¶
func (m *Speed) Run(proxy interfaces.Vendor, r *interfaces.SlaveRequest) error
func (*Speed) Type ¶
func (m *Speed) Type() interfaces.SlaveRequestMacroType
Click to show internal directories.
Click to hide internal directories.