Imported and modified evcli's api client code

This commit is contained in:
Julien Dessaux 2023-06-18 17:41:38 +02:00
parent 64ac1f44e0
commit 6844355a92
Signed by: adyxax
GPG key ID: F92E51B86E07177E
11 changed files with 523 additions and 5 deletions

14
external/evcli/http.go vendored Normal file
View file

@ -0,0 +1,14 @@
package evcli
import (
"net/http"
"time"
)
func NewHTTPClient() *http.Client {
c := &http.Client{
Timeout: 30 * time.Second,
}
return c
}