Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fault ¶
type Fault struct { XMLName xml.Name `xml:"fault"` FaultCode int `xmlrpc:"faultCode"` FaultString string `xmlrpc:"faultString"` }
func (*Fault) MarshalXML ¶
TODO(ankit): This might not be required, validate it.
type MethodCall ¶
type MethodCall struct { XMLName xml.Name `xml:"methodCall"` MethodName string `xml:"methodName"` Params []Param `xml:"params>param"` // contains filtered or unexported fields }
func (*MethodCall) Decode ¶
func (mc *MethodCall) Decode(_ []byte, paramTypes ...interface{}) error
type MethodResponse ¶
type MethodResponse struct { XMLName xml.Name `xml:"methodResponse"` Fault *Fault `xml:"fault,omitempty"` Params []Param `xml:"params>param,omitempty"` // contains filtered or unexported fields }
func (*MethodResponse) Decode ¶
func (mr *MethodResponse) Decode(data []byte, paramType interface{}) error
Click to show internal directories.
Click to hide internal directories.