{"id":18341026,"url":"https://github.com/shyx0rmz/go-xmlrpc","last_synced_at":"2025-04-09T20:46:21.327Z","repository":{"id":57508234,"uuid":"92693660","full_name":"SHyx0rmZ/go-xmlrpc","owner":"SHyx0rmZ","description":"XML-RPC client for Go","archived":false,"fork":false,"pushed_at":"2023-02-25T15:01:01.000Z","size":56,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T13:20:28.746Z","etag":null,"topics":["go","golang","xmlrpc"],"latest_commit_sha":null,"homepage":"https://godoc.org/github.com/SHyx0rmZ/go-xmlrpc","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SHyx0rmZ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-28T23:43:45.000Z","updated_at":"2023-02-25T14:54:55.000Z","dependencies_parsed_at":"2024-06-20T15:34:08.196Z","dependency_job_id":"c2fc14df-08ea-47f6-b3f0-4ac82e24b73f","html_url":"https://github.com/SHyx0rmZ/go-xmlrpc","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SHyx0rmZ%2Fgo-xmlrpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SHyx0rmZ%2Fgo-xmlrpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SHyx0rmZ%2Fgo-xmlrpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SHyx0rmZ%2Fgo-xmlrpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SHyx0rmZ","download_url":"https://codeload.github.com/SHyx0rmZ/go-xmlrpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248111298,"owners_count":21049569,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","golang","xmlrpc"],"created_at":"2024-11-05T20:25:16.048Z","updated_at":"2025-04-09T20:46:21.303Z","avatar_url":"https://github.com/SHyx0rmZ.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-xmlrpc\n\n    import xmlrpc \"github.com/SHyx0rmZ/go-xmlrpc\"\n\n\n## Usage\n\n#### type Client\n\n```go\ntype Client interface {\n\t// Call calls a remote method over XML-RPC using the specified arguments.\n\t// It will return the remote methods result or an error.\n\t//\n\t// args is list of arguments to be passed to the remote method. Each element\n\t// of args is a single arg, where arg is either one of:\n\t//     - bool\n\t//     - int\n\t//     - int8\n\t//     - int16\n\t//     - int32\n\t//     - float32\n\t//     - float64\n\t//     - string\n\t//     - []byte\n\t//     - []arg\n\t//     - map[string]arg\n\t//     - time.Time\n\tCall(methodName string, args ...interface{}) (Value, error)\n}\n```\n\nA Client is an XML-RPC client.\n\n#### func  NewClient\n\n```go\nfunc NewClient(endpoint string) Client\n```\nNewClient instantiates a new XML-RPC client bound to the specified endpoint.\n\n#### type Error\n\n```go\ntype Error struct {\n}\n```\n\nError represents an error that was caused either by some violation of the\nXML-RPC specification or by an assumption made by this implementation turning\nout to be wrong.\n\n#### func (Error) Error\n\n```go\nfunc (e Error) Error() string\n```\nError returns the errors string representation.\n\n#### type Fault\n\n```go\ntype Fault struct {\n}\n```\n\nFault represents an error that occurred on the remote during an XML-RPC call.\n\n#### func (Fault) Code\n\n```go\nfunc (e Fault) Code() int\n```\nCode returns the code associated with the fault.\n\n#### func (Fault) Error\n\n```go\nfunc (e Fault) Error() string\n```\nError returns the faults string representation.\n\n#### func (Fault) String\n\n```go\nfunc (e Fault) String() string\n```\nString returns the message associated with the fault.\n\n#### type Kind\n\n```go\ntype Kind uint\n```\n\nKind represents the specific kind of value that a Value wraps. The zero Kind\nrepresents an invalid Value.\n\n```go\nconst (\n\tInvalid Kind = iota\n\tArray\n\tBase64\n\tBool\n\tDateTime\n\tDouble\n\tInt\n\tString\n\tStruct\n)\n```\n\n#### type Member\n\n```go\ntype Member interface {\n\t// Name returns the name of the struct's member.\n\tName() string\n\n\t// Value returns the value of the struct's member.\n\tValue() Value\n}\n```\n\nMember represents a member in a struct.\n\n#### type Value\n\n```go\ntype Value interface {\n\t// Values returns the value's underlying value, as a slice.\n\t// It panics if the value's Kind is not Array.\n\tValues() []Value\n\n\t// Bytes returns the value's underlying value, as a slice of byte.\n\t// It panics if the value's Kind is not Base64.\n\tBytes() []byte\n\n\t// Bool returns the value's underlying value, as a bool.\n\t// It panics if the value's Kind is not Bool.\n\tBool() bool\n\n\t// Time returns the value's underlying value, as a time.Time.\n\t// It panics if the value's Kind is not DateTime.\n\tTime() time.Time\n\n\t// Double returns the value's underlying value, as a float64.\n\t// It panics if the value's Kind is not Double.\n\tDouble() float64\n\n\t// Int returns the value's underlying value, as an int.\n\t// It panics if the value's Kind is not Int.\n\tInt() int\n\n\t// Text returns the value's underlying value, as a string.\n\t// It panics if the value's Kind is not String.\n\tText() string\n\n\t// Members returns the value's underlying value, as a slice of Member.\n\t// It panics if the value's Kind is not Struct.\n\tMembers() []Member\n\n\t// Kind returns the specific type of this value.\n\tKind() Kind\n}\n```\n\nValue is a wrapper around an actual XML-RPC value.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshyx0rmz%2Fgo-xmlrpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshyx0rmz%2Fgo-xmlrpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshyx0rmz%2Fgo-xmlrpc/lists"}