summaryrefslogtreecommitdiffstats
path: root/internal/client/client.go
diff options
context:
space:
mode:
authors <[email protected]>2025-11-25 09:58:42 -0500
committers <[email protected]>2025-11-25 09:58:42 -0500
commit8a342848809a26e7e13933180b4df91d4a52f898 (patch)
tree6d273e54d6ffb6ae694e21ce587e28348b01aea5 /internal/client/client.go
parent8472267b60b204cea5fbdeaf8fe06443822d1bfb (diff)
downloaddborg-8a342848809a26e7e13933180b4df91d4a52f898.tar.gz
dborg-8a342848809a26e7e13933180b4df91d4a52f898.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.go4
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)
+}