package
Version:
v0.0.0-...-9e5a85d
Opens a new window with list of versions in this module.
Published: May 8, 2023
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go-xmlrpc
go xmlrpc with wordpress fork blat/go-xmlrpc
Documentation
¶
func Request(url string, method string, params ...interface{}) ([]interface{}, error)
Request : Is used to send the HTTP Request to the XMLRPC WP server
type Member struct {
Name string `xml:"name"`
Value Value `xml:"value"`
}
type MethodResponse struct {
Params []Param `xml:"params>param"`
}
type Param struct {
Value Value `xml:"value"`
}
type Value struct {
List []Value `xml:"array>data>value"`
Object []Member `xml:"struct>member"`
String string `xml:"string"`
Int string `xml:"int"`
Boolean string `xml:"boolean"`
DateTime string `xml:"dateTime.iso8601"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.