aboutsummaryrefslogtreecommitdiff
path: root/pkg/api/api0/api.go
diff options
context:
space:
mode:
authorpg9182 <96569817+pg9182@users.noreply.github.com>2022-10-15 08:59:16 -0400
committerpg9182 <96569817+pg9182@users.noreply.github.com>2022-10-15 08:59:16 -0400
commit3eb6f6383be0c467fa2c853c83ce8c19be4f6c4d (patch)
tree4563bf935d04451cfa3f222f28e29d946951031b /pkg/api/api0/api.go
parent2bf919d274e25d7adc19ad6de259429b2f22a0ee (diff)
downloadAtlas-3eb6f6383be0c467fa2c853c83ce8c19be4f6c4d.tar.gz
Atlas-3eb6f6383be0c467fa2c853c83ce8c19be4f6c4d.zip
pkg/api/api0: Implement /server/remove_server
Diffstat (limited to 'pkg/api/api0/api.go')
-rw-r--r--pkg/api/api0/api.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/api/api0/api.go b/pkg/api/api0/api.go
index d17018f..a0faca9 100644
--- a/pkg/api/api0/api.go
+++ b/pkg/api/api0/api.go
@@ -90,6 +90,8 @@ func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
h.handleClientServers(w, r)
case "/server/add_server", "/server/update_values", "/server/heartbeat":
h.handleServerUpsert(w, r)
+ case "/server/remove_server":
+ h.handleServerRemove(w, r)
case "/accounts/write_persistence":
h.handleAccountsWritePersistence(w, r)
case "/accounts/get_username":