1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-04 12:52:27 +08:00

fix comment

This commit is contained in:
sunyaqiu
2019-04-06 15:28:31 +08:00
parent f4f1860e67
commit e66652f4b5

View File

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