Versions in this module Expand all Collapse all v0 v0.2.0 Oct 27, 2022 v0.1.0 Oct 26, 2022 Changes in this version + const STATUS_FINISH + const STATUS_READY + const STATUS_RUNNING + type HTTP struct + AllowOverwrite bool + AutoFileRenaming bool + AutoSaveTnterval time.Duration + Body io.Reader + BreakpointResume bool + Client *http.Client + CreateDir bool + Debug bool + DiskCache int + Header http.Header + Method string + Outdir string + Outname string + Outpath string + Perm fs.FileMode + RetryNumber int + RetryTime time.Duration + SpeedLimit int + TempfileExt string + ThreadCount int + ThreadSize int + Timeout time.Duration + URI string + func (h *HTTP) Close() + func (h *HTTP) Done() <-chan error + func (h *HTTP) Start(ctx context.Context) error + func (h *HTTP) Stat() *HttpStat + func (h *HTTP) Wait() error + type HttpStat struct + CompletedLength int64 + Connections int + DownloadSpeed int64 + EstimatedTime time.Duration + Outpath string + Progress int + Status Status + TotalLength int64 + type Status int