Update Comment

This commit is contained in:
Samuel Lorch 2021-08-30 16:32:35 +02:00
parent ff1be787f2
commit 1c615fb145

View file

@ -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