9d7ed12950
* Inspect item: always show tainted, installed, etc. when false * cleanup, comments, unused stuff * download collection content after downloading dependencies, avoid duplicate call * Return instances from Item.SubItems() * shorter i/o code * inline / simplify getData() * Handle timeout connections when downloading from hub or data
15 lines
333 B
Go
15 lines
333 B
Go
// Package cwhub is responsible for installing and upgrading the local hub files.
|
|
//
|
|
// This includes retrieving the index, the items to install (parsers, scenarios, data files...)
|
|
// and managing the dependencies and taints.
|
|
package cwhub
|
|
|
|
import (
|
|
"net/http"
|
|
"time"
|
|
)
|
|
|
|
var hubClient = &http.Client{
|
|
Timeout: 10 * time.Second,
|
|
}
|