Imported and modified evcli's api client code
This commit is contained in:
parent
64ac1f44e0
commit
6844355a92
11 changed files with 523 additions and 5 deletions
14
external/evcli/http.go
vendored
Normal file
14
external/evcli/http.go
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
package evcli
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
"time"
|
||||
)
|
||||
|
||||
func NewHTTPClient() *http.Client {
|
||||
c := &http.Client{
|
||||
Timeout: 30 * time.Second,
|
||||
}
|
||||
|
||||
return c
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue