Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func XmlUnmarshal ¶ added in v1.3.1
Поддержка кодировок кроме utf8 https://stackoverflow.com/questions/6002619/unmarshal-an-iso-8859-1-xml-input-in-go
Types ¶
type Fault ¶ added in v1.1.0
type Fault struct { Code string `xml:"faultcode"` Description string `xml:"faultstring"` Detail string `xml:"detail"` }
Fault response
type Helper ¶ added in v1.3.3
type Helper struct {
// contains filtered or unexported fields
}
Client struct hold all the informations about WSDL, request and response of the server
func (*Helper) CheckError ¶ added in v1.3.3
func (*Helper) FillFastRequest ¶ added in v1.3.3
func (c *Helper) FillFastRequest(req *fasthttp.Request, method string, params XMLMarshaller, headerName string, headerParams XMLMarshaller) error
Заполняет поля fasthttp.Request
type SoapBody ¶
type SoapBody struct { XMLName struct{} `xml:"Body"` Contents []byte `xml:",innerxml"` }
SoapBody struct
type SoapEnvelope ¶
type SoapEnvelope struct { XMLName struct{} `xml:"Envelope"` Header SoapHeader Body SoapBody }
SoapEnvelope struct
type SoapHeader ¶ added in v1.3.1
type SoapHeader struct { XMLName struct{} `xml:"Header"` Contents []byte `xml:",innerxml"` }
SoapHeader struct
type XMLMarshaller ¶ added in v1.3.4
Click to show internal directories.
Click to hide internal directories.