Documentation ¶
Overview ¶
Package xmlrpc implements the XML-RPC protocol, in a variant fit for ROS.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a XML-RPC client.
type ErrorRes ¶
type ErrorRes struct{}
ErrorRes is a special response that sends status code 400. in case of errors, the C++ implementation replies with <methodResponse><fault><value>..., a structure which would require additional parsing.
type RequestRaw ¶
type RequestRaw struct { Method string // contains filtered or unexported fields }
RequestRaw is a raw request.
func (*RequestRaw) Decode ¶
func (rr *RequestRaw) Decode(req interface{}) error
Decode transforms a RequestRaw into a Request.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a XML-RPC server.
func (*Server) Serve ¶
func (s *Server) Serve(handler func(*RequestRaw) interface{})
Serve starts serving requests and waits until the server is closed.
Click to show internal directories.
Click to hide internal directories.