diff options
author | Emile <hanemile@protonmail.com> | 2019-11-04 17:16:21 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-11-04 17:16:21 +0100 |
commit | 4fa3ef61b2db7db6613632b6fe0265135a554cc5 (patch) | |
tree | 8c60c8db624976ce2658325eab4d2d46bcdaa4b3 | |
parent | f28d65362189e8ca15ba41b238080643c66c88ae (diff) |
register api endpoints template
-rw-r--r-- | src/register.go | 11 |
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) { + +} |