summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.go b/main.go
index d73587b..c3222c6 100644
--- a/main.go
+++ b/main.go
@@ -34,7 +34,13 @@ func main() {
r := mux.NewRouter()
r.HandleFunc("/", IndexHandler)
r.HandleFunc("/register", RegisterHandler)
+ r.HandleFunc("/about", AboutHandler)
+ r.HandleFunc("/howto", HowtoHandler)
+ r.HandleFunc("/server", ServerHandler)
r.HandleFunc("/create", CreateNewEntryHandler).Methods("POST")
+ r.HandleFunc("/user", UserHandler)
+ r.HandleFunc("/password", PasswordHandler)
+ r.HandleFunc("/changePassword", ChangePasswordHandler).Methods("POST")
r.PathPrefix("/static/").Handler(http.StripPrefix("/static/", http.FileServer(http.Dir("./static"))))
http.Handle("/", r)