package
Version:
v0.0.0-...-3aa76b9
Opens a new window with list of versions in this module.
Published: Nov 22, 2021
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
-
type Client
-
func (c *Client) Delete(ctx context.Context, path string, v interface{}) error
-
func (c *Client) Get(ctx context.Context, path string, v interface{}) error
-
func (c *Client) Post(ctx context.Context, path string, body, v interface{}) error
-
func (c *Client) Put(ctx context.Context, path string, body, v interface{}) error
Client rest client.
Delete performs a DELETE request.
Get performs a GET request.
Post performs a POST request.
Put performs a PUT request.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.