Versions in this module Expand all Collapse all v0 v0.1.0 Oct 9, 2024 Changes in this version + type Client struct + func NewClient(config ClientConfig) *Client + func (c *Client) DeleteJSON(urlPath string, target any) error + func (c *Client) DeletePage(urlPath string) (string, error) + func (c *Client) Do(req *http.Request) (*http.Response, error) + func (c *Client) DoJSON(req *http.Request, target any) error + func (c *Client) DoPage(req *http.Request) (string, error) + func (c *Client) GetJSON(urlPath string, target any) error + func (c *Client) GetPage(urlPath string) (string, error) + func (c *Client) PostJSON(urlPath string, input any, target any) error + func (c *Client) PostPage(urlPath string, input url.Values) (string, error) + func (c *Client) PutJSON(urlPath string, input any, target any) error + func (c *Client) PutPage(urlPath string, input url.Values) (string, error) + type ClientConfig struct + BaseURL *url.URL