about summary refs log tree commit diff
path: root/http.go
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-02-12 23:13:54 +0100
committerEmile <hanemile@protonmail.com>2019-02-12 23:13:54 +0100
commit10366e331346dbcce6c9e0fe8651f0dfe9743a8f (patch)
treee854d6166d242357a8e7ad79102ad1a93fd0d726 /http.go
parentd422c58b71a2d1f61530cc4aed432cb032242614 (diff)
added the centerofmassendpoint and the genforesttree endpoint
Diffstat (limited to 'http.go')
-rw-r--r--http.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/http.go b/http.go
index fde7423..d19e1a0 100644
--- a/http.go
+++ b/http.go
@@ -85,3 +85,11 @@ func listOfStarsCsvEndpoint() []string {
 func updateTotalMassEndpoint(index int64) {
 	updateTotalMass(index)
 }
+
+func updateCenterOfMassEndpoint(index int64) {
+	updateCenterOfMass(index)
+}
+
+func genForestTreeEndpoint(index int64) string {
+	return genForestTree(index)
+}