/* * Copyright 2026 Oleg Borodin * * This work is published and licensed under a Creative Commons * Attribution-NonCommercial-NoDerivatives 4.0 International License. * * Distribution of this work is permitted, but commercial use and * modifications are strictly prohibited. */ 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) }