Documentation
¶
Index ¶
Constants ¶
View Source
const ( // FullXMLRpcTime is the format of a full XML-RPC time FullXMLRpcTime = "2006-01-02T15:04:05-07:00" // LocalXMLRpcTime is the XML-RPC time without timezone LocalXMLRpcTime = "2006-01-02T15:04:05" // DenseXMLRpcTime is a dense-formatted local time DenseXMLRpcTime = "20060102T15:04:05" // DummyXMLRpcTime is seen in the wild DummyXMLRpcTime = "20060102T15:04:05-0700" )
/ ISO8601 is not very much restrictive, so many combinations exist
Variables ¶
View Source
var ErrUnsupported = errors.New("Unsupported type")
ErrUnsupported is the error of "Unsupported type"
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements a basic XMLRPC client
func NewClient ¶
NewClient returns a new instance of Client Pass in a true value for `insecure` to turn off certificate verification
func NewClientWithHTTPClient ¶ added in v0.5.0
NewClientWithHTTPClient returns a new instance of Client. This allows you to use a custom http.Client setup for your needs.
Click to show internal directories.
Click to hide internal directories.