about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-11-04 17:16:21 +0100
committerEmile <hanemile@protonmail.com>2019-11-04 17:16:21 +0100
commit4fa3ef61b2db7db6613632b6fe0265135a554cc5 (patch)
tree8c60c8db624976ce2658325eab4d2d46bcdaa4b3 /src
parentf28d65362189e8ca15ba41b238080643c66c88ae (diff)
register api endpoints template
Diffstat (limited to 'src')
-rw-r--r--src/register.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/register.go b/src/register.go
new file mode 100644
index 0000000..fbeec7d
--- /dev/null
+++ b/src/register.go
@@ -0,0 +1,11 @@
+package main
+
+import "net/http"
+
+// createNewCompanion creates a new companion container
+//
+// POST parameters:
+// - name of the user
+func createNewCompanion(w http.ResponseWriter, r *http.Request) {
+
+}