Documentation ¶
Index ¶
- Constants
- func Marshal(w io.Writer, methodName string, args ...interface{}) error
- type Client
- type DFT
- type DICT
- type Fault
- type Handler
- func (h *Handler) GetMethodList() (ks []string)
- func (h *Handler) RegFunc(f interface{}, name string, dft DFT) error
- func (h *Handler) Register(obj interface{}, mapper func(string) string, padParams bool) error
- func (h *Handler) ServeHTTP(resp http.ResponseWriter, req *http.Request)
- func (h *Handler) SetLogf(logf func(*http.Request, int, string))
- type LIST
Constants ¶
View Source
const ISO8601_LAYOUT = "20060102T15:04:05"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
XML-RPC client data
type Fault ¶
A Fault represents an error or exception in the procedure call being run on the remote machine
func UnmarshalString ¶
Translate an XML string into a local data object
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Map from XML-RPC procedure names to Go methods
func NewHandler ¶
func NewHandler() *Handler
create a new handler mapping XML-RPC procedure names to Go methods
func (*Handler) Register ¶
register all methods associated with the Go object, passing them through the name mapper if one is supplied
The name mapper can return "" to ignore a method or transform the name as desired
Click to show internal directories.
Click to hide internal directories.