mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-17 06:52:26 +02:00
* Iterate over sub-items in Remove(), not in disable() -- fix shared dependency issue * Increase hub download timeout to 2 minutes
14 lines
334 B
Go
14 lines
334 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: 120 * time.Second,
|
|
}
|