Versions in this module Expand all Collapse all v0 v0.1.0 Jan 30, 2026 Changes in this version + var CharsetReader func(string, io.Reader) (io.Reader, error) + func EncodeMethodCall(method string, args ...any) ([]byte, error) + func NewRequest(url string, method string, args any) (*http.Request, error) + func NewRequestContext(ctx context.Context, url string, method string, args any) (*http.Request, error) + type Base64 string + type Client struct + func NewClient(requrl string, transport http.RoundTripper) (*Client, error) + func NewClientWithOptions(requrl string, opts ...Option) (*Client, error) + func (c *Client) Call(serviceMethod string, args any, reply any) error + func (c *Client) CallContext(ctx context.Context, serviceMethod string, args any, reply any) error + func (c *Client) Close() error + type FaultError struct + Code int + String string + func (e FaultError) Error() string + type Option func(*clientOptions) + func WithBasicAuth(username, password string) Option + func WithCookieJar(jar http.CookieJar) Option + func WithHTTPClient(client *http.Client) Option + func WithHeader(key, value string) Option + func WithTransport(transport http.RoundTripper) Option + type Response []byte + func (r Response) Err() error + func (r Response) Unmarshal(v any) error + type TypeMismatchError string + func (e TypeMismatchError) Error() string