added skip vetify of server cert

This commit is contained in:
2026-02-21 14:07:19 +02:00
parent 7be3cf8de7
commit b2c60c41c4
15 changed files with 113 additions and 94 deletions
+8 -4
View File
@@ -9,8 +9,12 @@
*/
package client
type Client struct{}
func NewClient() *Client {
return &Client{}
type Client struct {
skipTLSVerify bool
}
func NewClient(skipTLSVerify bool) *Client {
return &Client{
skipTLSVerify: skipTLSVerify,
}
}