From 4fa3ef61b2db7db6613632b6fe0265135a554cc5 Mon Sep 17 00:00:00 2001 From: Emile Date: Mon, 4 Nov 2019 17:16:21 +0100 Subject: register api endpoints template --- src/register.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/register.go (limited to 'src') 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) { + +} -- cgit 1.4.1