package
Version:
v0.0.0-...-3b60c6d
Opens a new window with list of versions in this module.
Published: Jul 24, 2019
License: BSD-2-Clause
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func SoapDecode(data []byte, contents interface{}) error
func SoapEncode(contents interface{}) ([]byte, error)
type SoapBody struct {
Contents []byte `xml:",innerxml"`
}
type SoapEnvelopeReqest struct {
XMLName struct{} `xml:"SOAP-ENV:Envelope"`
Id1 string `xml:"xmlns:SOAP-ENV,attr"`
Id2 string `xml:"xmlns:ns1,attr"`
Body SoapBody `xml:"SOAP-ENV:Body"`
}
type SoapEnvelopeResponse struct {
XMLName struct{} `xml:"Envelope"`
Id1 string `xml:"xmlns:SOAP-ENV,attr"`
Id2 string `xml:"xmlns:ns1,attr"`
Body SoapBody
}
type TurbosmsConfig struct {
Alogin string `yaml:"login"`
Apassword string `yaml:"password"`
}
sachet section
Source Files
¶
Click to show internal directories.
Click to hide internal directories.