xmlrpc

package
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Simple XMLRPC client/server for go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Call

func Call(url string, method string, args ...interface{}) (res interface{}, e error)

Call a XMLRPC API in a remote host. Args:

url string: URL of the remote host

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(mapping map[string]Method) *Handler

func (*Handler) ServeHTTP

func (self *Handler) ServeHTTP(w http.ResponseWriter, req *http.Request)

func (*Handler) WaitForShutdown

func (self *Handler) WaitForShutdown()

type Method

type Method interface{}

type Method func (args ...interface{}) (interface{}, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL