aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorMrArmonius <mrarmonius@gmail.com>2021-07-21 21:21:46 +0200
committerAlex Auvolat <alex@adnab.me>2021-08-16 12:54:08 +0200
commitb1ce932cd67be22d73606f377d2432ea389be71f (patch)
treec438829f56c749b325ab9fdb960a635b725a66bb /main.go
parentfa5476e963371a6e4b26ee60887f7bc356914728 (diff)
downloadguichet-b1ce932cd67be22d73606f377d2432ea389be71f.tar.gz
guichet-b1ce932cd67be22d73606f377d2432ea389be71f.zip
Add Route + file Directory.go
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 7126826..6059d04 100644
--- a/main.go
+++ b/main.go
@@ -133,6 +133,9 @@ func main() {
r.HandleFunc("/profile", handleProfile)
r.HandleFunc("/passwd", handlePasswd)
+ r.HandleFunc("/directory", handleDirectory)
+ r.HandleFunc("/search/{input}", handleSearch)
+
r.HandleFunc("/invite/new_account", handleInviteNewAccount)
r.HandleFunc("/invite/send_code", handleInviteSendCode)
r.HandleFunc("/invitation/{code}", handleInvitationCode)