diff options
Diffstat (limited to 'internal/client/client.go')
| -rw-r--r-- | internal/client/client.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/client/client.go b/internal/client/client.go index eaf87cb..4aa6f06 100644 --- a/internal/client/client.go +++ b/internal/client/client.go @@ -126,3 +126,7 @@ func (c *Client) Patch(path string, body interface{}) ([]byte, error) { func (c *Client) Put(path string, body interface{}) ([]byte, error) { return c.doRequest(http.MethodPut, path, nil, body) } + +func (c *Client) ListServices() ([]byte, error) { + return c.Get("/", nil) +} |
