Documentation ¶ Index ¶ type Client func NewClient(URL string, opts appkit.Options) (*Client, error) func (c *Client) Delete(urlpath string) error func (c *Client) Get(urlpath string, values interface{}) error func (c *Client) GetRaw(urlpath string) ([]string, error) func (c *Client) Put(urlpath string, data interface{}) error func (c *Client) PutRaw(urlpath string, json []byte) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { Http *http.Client Url *url.URL Ctx context.Context } func NewClient ¶ func NewClient(URL string, opts appkit.Options) (*Client, error) func (*Client) Delete ¶ func (c *Client) Delete(urlpath string) error func (*Client) Get ¶ func (c *Client) Get(urlpath string, values interface{}) error func (*Client) GetRaw ¶ func (c *Client) GetRaw(urlpath string) ([]string, error) func (*Client) Put ¶ func (c *Client) Put(urlpath string, data interface{}) error func (*Client) PutRaw ¶ func (c *Client) PutRaw(urlpath string, json []byte) error Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.