From 73c6fc9dafbefb78b6c01b0c2d770f791cbe63dd Mon Sep 17 00:00:00 2001 From: pg2000 Date: Sun, 18 Apr 2021 09:36:54 +0200 Subject: [PATCH] feat: add move from dynectsoap to dynsoap --- provider/dyn/soap/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/provider/dyn/soap/client.go b/provider/dyn/soap/client.go index 4ec11c904c..23186dfb27 100644 --- a/provider/dyn/soap/client.go +++ b/provider/dyn/soap/client.go @@ -23,7 +23,7 @@ import ( "github.com/hooklift/gowsdl/soap" ) -// Returns a Dynect Client with a configured http.Client +// NewDynectClient returns a client with a configured http.Client // The default settings for the http.client are a timeout of // 10 seconds and reading proxy variables from http.ProxyFromEnvironment func NewDynectClient(url string) Dynect { @@ -37,7 +37,7 @@ func NewDynectClient(url string) Dynect { return NewDynect(soapClient) } -// Returns a Dynect Client without a configured http.Client +// NewCustomDynectClient returns a client without a configured http.Client func NewCustomDynectClient(url string, client http.Client) Dynect { soapClient := soap.NewClient(url, soap.WithHTTPClient(&client)) return NewDynect(soapClient)