diff options
| author | Shulhan <ms@kilabit.info> | 2023-09-11 00:49:45 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-09-11 02:26:33 +0700 |
| commit | 4e7becee5062b89769e2ae8fad6d8b1e2e85dade (patch) | |
| tree | c8f44052835f2579baf6dcbbd4db6801a27063ac /lib/xmlrpc/response.go | |
| parent | bd9e01a5164be7710223204aa8edabd8eb5ffca7 (diff) | |
| download | pakakeh.go-4e7becee5062b89769e2ae8fad6d8b1e2e85dade.tar.xz | |
lib/xmlrpc: add missing comment to exported type and methods
Diffstat (limited to 'lib/xmlrpc/response.go')
| -rw-r--r-- | lib/xmlrpc/response.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/xmlrpc/response.go b/lib/xmlrpc/response.go index bd127d2e..fcacbe57 100644 --- a/lib/xmlrpc/response.go +++ b/lib/xmlrpc/response.go @@ -12,6 +12,7 @@ import ( liberrors "github.com/shuLhan/share/lib/errors" ) +// Response contains the XML-RPC response. type Response struct { Param *Value @@ -42,6 +43,7 @@ func (resp *Response) MarshalText() (out []byte, err error) { return buf.Bytes(), nil } +// UnmarshalText convert the XML text into Response. func (resp *Response) UnmarshalText(text []byte) (err error) { var ( logp = "xmlrpc: Response" |
