Versions in this module Expand all Collapse all v0 v0.55.0 May 4, 2024 v0.54.0 Apr 4, 2024 Changes in this version + type Client struct + func NewClient(url *url.URL, timeout time.Duration) (client *Client, err error) + func (cl *Client) Close() + func (cl *Client) Send(req Request) (resp Response, err error) + type Kind int + const Array + const Base64 + const Boolean + const DateTime + const Double + const Integer + const String + const Struct + const Unset + type Request struct + MethodName string + Params []*Value + func NewRequest(methodName string, params []interface{}) (req Request, err error) + func (req *Request) UnmarshalText(text []byte) (err error) + func (req Request) MarshalText() (out []byte, err error) + type Response struct + Param *Value + func (resp *Response) MarshalText() (out []byte, err error) + func (resp *Response) UnmarshalText(text []byte) (err error) + func (resp *Response) Unwrap() (err error) + type Value struct + ArrayValues []*Value + In interface{} + Kind Kind + StructMembers map[string]*Value + func NewValue(in interface{}) (out *Value) + func (v *Value) GetFieldAsBoolean(key string) bool + func (v *Value) GetFieldAsFloat(key string) float64 + func (v *Value) GetFieldAsInteger(key string) int + func (v *Value) GetFieldAsString(key string) string + func (v *Value) String() string