diff options
| author | jackyzha0 <[email protected]> | 2020-05-09 12:22:31 -0700 |
|---|---|---|
| committer | jackyzha0 <[email protected]> | 2020-05-09 12:22:31 -0700 |
| commit | 043e347703b780781bb2a16946299ff493215c76 (patch) | |
| tree | cc2f152de2b22c7bf7542b12d6ce3035412abdf2 /api/routes.go | |
| parent | initial files (diff) | |
| download | ctrl-v-043e347703b780781bb2a16946299ff493215c76.tar.xz ctrl-v-043e347703b780781bb2a16946299ff493215c76.zip | |
healthcheck + basic api
Diffstat (limited to 'api/routes.go')
| -rw-r--r-- | api/routes.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/api/routes.go b/api/routes.go new file mode 100644 index 0000000..e3aac5b --- /dev/null +++ b/api/routes.go @@ -0,0 +1,10 @@ +package api + +import ( + "fmt" + "net/http" +) + +func healthCheckFunc(w http.ResponseWriter, r *http.Request) { + fmt.Fprintf(w, "Hello there chief") +} |