aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-02-12 19:19:41 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-02-12 19:19:41 +0100
commit1a9d750de7bb30bea5dcc7cd14f3f1826ddf00f7 (patch)
treed8d17e30646e4cb2af3ea15a8c12ec60eb0e545c /main.go
parent5dd6419d676aa60ddde188a800d5084211e88d89 (diff)
downloadguichet-1a9d750de7bb30bea5dcc7cd14f3f1826ddf00f7.tar.gz
guichet-1a9d750de7bb30bea5dcc7cd14f3f1826ddf00f7.zip
Implement basic PIM management
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.go b/main.go
index 39c7f08..30fd42e 100644
--- a/main.go
+++ b/main.go
@@ -163,6 +163,9 @@ func server(args []string) {
r.HandleFunc("/website/inspect/{bucket}", handleWebsiteInspect)
r.HandleFunc("/website/vhost/{bucket}", handleWebsiteVhost)
+ r.HandleFunc("/pim/setup", handlePimSetup)
+ r.HandleFunc("/pim/inspect", handlePimInspect)
+
r.HandleFunc("/invite/new_account", handleInviteNewAccount)
r.HandleFunc("/invite/send_code", handleInviteSendCode)
r.HandleFunc("/invitation/{code}", handleInvitationCode)