From e66652f4b5d81017422dfd4717bd0212577f31d7 Mon Sep 17 00:00:00 2001 From: sunyaqiu Date: Sat, 6 Apr 2019 15:28:31 +0800 Subject: [PATCH] fix comment --- util/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/http.go b/util/http.go index 086e65f..2376155 100644 --- a/util/http.go +++ b/util/http.go @@ -187,7 +187,7 @@ func pkcs12ToPem(p12 []byte, password string) tls.Certificate { return cert } -//PostXMLWithTLS:Post XML with TLS +//PostXMLWithTLS perform a HTTP/POST request with XML body and TLS func PostXMLWithTLS(uri string, obj interface{}, ca, key string) ([]byte, error) { xmlData, err := xml.Marshal(obj) if err != nil {