From 1c615fb1451896264e14dea6e63a0957401ba58a Mon Sep 17 00:00:00 2001 From: Samuel Lorch Date: Mon, 30 Aug 2021 16:32:35 +0200 Subject: [PATCH] Update Comment --- api/client.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/client.go b/api/client.go index c6ced26..e63d562 100644 --- a/api/client.go +++ b/api/client.go @@ -33,7 +33,9 @@ type Client struct { Debug bool } -// NewClient Returns a new Passbolt Client +// NewClient Returns a new Passbolt Client. +// if httpClient is nil http.DefaultClient will be used. +// if UserAgent is "" "goPassboltClient/1.0" will be used. func NewClient(BaseURL *url.URL, httpClient *http.Client, UserAgent, UserPrivateKey, UserPassword string) (*Client, error) { if httpClient == nil { httpClient = http.DefaultClient