aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-04-18 19:37:51 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-04-18 19:37:51 +0200
commit37b769491028a86d697e8d18be09b6e0c1046046 (patch)
tree04c874f3b82afd81f2c9b27fd4b164e46711ce98 /main.go
parent02670ba6a60af8db1818d6d3adaafc7810d14689 (diff)
downloadguichet-37b769491028a86d697e8d18be09b6e0c1046046.tar.gz
guichet-37b769491028a86d697e8d18be09b6e0c1046046.zip
WIP templates
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.go b/main.go
index 31d5ac3..6842fdf 100644
--- a/main.go
+++ b/main.go
@@ -129,6 +129,11 @@ func main() {
r.HandleFunc("/directory/search", handleDirectorySearch)
r.HandleFunc("/directory", handleDirectory)
+ r.HandleFunc("/garage/key", handleGarageKey)
+ r.HandleFunc("/garage/website", handleGarageWebsiteList)
+ r.HandleFunc("/garage/website/new", handleGarageWebsiteNew)
+ r.HandleFunc("/garage/website/b/{bucket}", handleGarageWebsiteInspect)
+
r.HandleFunc("/invite/new_account", handleInviteNewAccount)
r.HandleFunc("/invite/send_code", handleInviteSendCode)
r.HandleFunc("/invitation/{code}", handleInvitationCode)