Versions in this module Expand all Collapse all v4 v4.0.4 Mar 31, 2020 v4.0.3 Mar 27, 2020 v4.0.2 Mar 4, 2020 v4.0.1 Mar 4, 2020 v4.0.0 Jan 16, 2020 Changes in this version + type Bar struct + func NewBar() Bar + func (b Bar) Kickoff() + func (b Bar) NewProxyReader(reader io.Reader) io.Reader + func (b Bar) SetOutput(output io.Writer) + func (b Bar) SetTotal(contentLength int64) + type Client struct + Bar bar + HTTPClient httpClient + Logger logger.Logger + Ranger ranger + Timeout time.Duration + func (c Client) Get(location *FileInfo, downloadLinkFetcher downloadLinkFetcher, ...) error + type FileInfo struct + Mode os.FileMode + Name string + func NewFileInfo(file *os.File) (*FileInfo, error) + type Range struct + HTTPHeader http.Header + Lower int64 + Upper int64 + func NewRange(lower int64, upper int64, httpHeader http.Header) Range + type Ranger struct + func NewRanger(hunks int) Ranger + func (r Ranger) BuildRange(contentLength int64) ([]Range, error) Other modules containing this package github.com/pivotal-cf/go-pivnet github.com/pivotal-cf/go-pivnet/v2 github.com/pivotal-cf/go-pivnet/v3 github.com/pivotal-cf/go-pivnet/v5 github.com/pivotal-cf/go-pivnet/v6 github.com/pivotal-cf/go-pivnet/v7