diff options
author | maride <maride@darknebu.la> | 2018-08-14 13:57:13 +0200 |
---|---|---|
committer | maride <maride@darknebu.la> | 2018-08-14 13:57:13 +0200 |
commit | cfb006c2be8717ebd10d39b9dd64211ff7ce1eb0 (patch) | |
tree | 3fe376f90c6caf932a7cc32cb3f9b60c15385f69 /src/main.go | |
parent | 61c8c9d29824a7ec1ebfb96413ce1713260dfd57 (diff) |
Add Login/Logout/Sessions using given access codes
Diffstat (limited to 'src/main.go')
-rw-r--r-- | src/main.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main.go b/src/main.go new file mode 100644 index 0000000..519943a --- /dev/null +++ b/src/main.go @@ -0,0 +1,17 @@ +package main + +import ( + "flag" + "log" +) + +func main() { + // Set up flags + registerHTTPFlags() + registerSessionFlags() + registerCredentialsFlags() + flag.Parse() + + // Run HTTP server + log.Fatalln(runHTTPServer()) +} \ No newline at end of file |