初始化仓库
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package core
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
"time"
|
||||
)
|
||||
|
||||
// HTTPClient is a shared HTTP client with a reasonable timeout for platform use.
|
||||
var HTTPClient = &http.Client{
|
||||
Timeout: 30 * time.Second,
|
||||
}
|
||||
Reference in New Issue
Block a user