working commit

This commit is contained in:
2026-02-02 18:10:45 +02:00
parent 41e1b253f7
commit 042d75cc2d
9 changed files with 214 additions and 264 deletions
+18
View File
@@ -0,0 +1,18 @@
package client
import (
"crypto/tls"
"net/http"
)
type roundTripper struct{}
func (t *roundTripper) RoundTrip(r *http.Request) (*http.Response, error) {
tlsConfig := &tls.Config{
InsecureSkipVerify: true,
}
httpTransport := &http.Transport{
TLSClientConfig: tlsConfig,
}
return httpTransport.RoundTrip(r)
}