Documentation ¶
Index ¶
- Variables
- type Block
- type FileDl
- func (f FileDl) GetStatus() Status
- func (f *FileDl) OnError(fn func(int, error))
- func (f *FileDl) OnFinish(fn func())
- func (f *FileDl) OnPause(fn func())
- func (f *FileDl) OnResume(fn func())
- func (f *FileDl) OnStart(fn func())
- func (f *FileDl) Pause()
- func (f *FileDl) Resume()
- func (f *FileDl) Start()
- type Status
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // 最大线程数量 MaxThread = 5 // 缓冲区大小 CacheSize = 1024 )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.