diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) |
