Versions in this module Expand all Collapse all v1 v1.0.0 Jan 26, 2023 Changes in this version + type Client struct + func NewClient(c Config) (*Client, error) + func (c *Client) Get(p GetParams) ([]byte, error) + func (c *Client) GetRaw(p GetParams) (Response, error) + func (c *Client) Post(p PostParams) ([]byte, error) + func (c *Client) PostRaw(p PostParams) (Response, error) + type Config struct + BaseURL string + Timeout int + type Cookies []http.Cookie + func (c *Cookies) UnmarshalJSON(b []byte) error + func (c Cookies) MarshalJSON() ([]byte, error) + type GetParams struct + Cookies Cookies + MaxTimeout int + ReturnOnlyCookies bool + URL string + type PostParams struct + Cookies Cookies + MaxTimeout int + PostData url.Values + ReturnOnlyCookies bool + URL string + type Response struct + EndTimestamp int64 + Message string + Solution Solution + StartTimestamp int64 + Status status + Version string + type Solution struct + Cookies Cookies + Response json.RawMessage + Status int + URL string + UserAgent string