about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--http.go8
2 files changed, 9 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index d3beee5..c3c927c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@
 *.o
 *.a
 *.so
+*.csv
 
 # Folders
 _obj
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)
+}