From 33283bff8b1ae239036aeb1526ec3b7483767ed7 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 15 Aug 2023 15:42:00 +0530 Subject: added option to use client auth --- client.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'client.go') diff --git a/client.go b/client.go index 0a3863c..253d9de 100644 --- a/client.go +++ b/client.go @@ -20,7 +20,8 @@ package mg import "net/http" type Client struct { - MainAuth string - ClientAuth string - httpClient http.Client + MainAuth string + ClientAuth string + ClientAuthOnly bool + httpClient http.Client } -- cgit v1.2.3