diff options
| author | s <[email protected]> | 2025-11-25 09:58:42 -0500 |
|---|---|---|
| committer | s <[email protected]> | 2025-11-25 09:58:42 -0500 |
| commit | 8a342848809a26e7e13933180b4df91d4a52f898 (patch) | |
| tree | 6d273e54d6ffb6ae694e21ce587e28348b01aea5 /internal/client/client.go | |
| parent | 8472267b60b204cea5fbdeaf8fe06443822d1bfb (diff) | |
| download | dborg-1.0.6.tar.gz dborg-1.0.6.zip | |
feat: add dns site check, services list, and additional twitter/x api endpointsv1.0.6
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) +} |
