Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Download ¶
type Download struct { ContentLength int64 Timeout time.Duration OnHead func(Head) OnHeadEnd func() OnChunk func(Chunk) OnStopped func(string) // contains filtered or unexported fields }
func NewDownload ¶
type Multiclient ¶
func New ¶
func New(biteSize int64) *Multiclient
func (*Multiclient) Download ¶
func (mc *Multiclient) Download(writer io.WriteSeeker, wal *os.File, reqs ...*http.Request) *Download
Click to show internal directories.
Click to hide internal directories.