This commit is contained in:
stefanodvx 2025-04-14 13:05:43 +02:00
parent 264c97183e
commit 3faede7b1c
74 changed files with 6228 additions and 1 deletions

14
util/http.go Normal file
View file

@ -0,0 +1,14 @@
package util
import (
"net/http"
"time"
)
var httpSession = &http.Client{
Timeout: 20 * time.Second,
}
func GetHTTPSession() *http.Client {
return httpSession
}