Enha: split onto more templates
This commit is contained in:
1
main.go
1
main.go
@ -22,6 +22,7 @@ func ListenToRequests(port string) error {
|
||||
mux.HandleFunc("GET /ping", handlers.HandlePing)
|
||||
mux.HandleFunc("GET /", handlers.HandleHome)
|
||||
mux.HandleFunc("POST /login", handlers.HandleFrontLogin)
|
||||
mux.HandleFunc("GET /room", handlers.HandleRoomEnter)
|
||||
//elements
|
||||
mux.HandleFunc("GET /room/createform", handlers.HandleShowCreateForm)
|
||||
mux.HandleFunc("GET /room/hideform", handlers.HandleHideCreateForm)
|
||||
|
Reference in New Issue
Block a user