before rewrite
This commit is contained in:
@@ -32,7 +32,7 @@ func main() {
|
||||
http.HandleFunc("POST /new/account", RegisterHandler)
|
||||
http.HandleFunc("POST /new/token", LoginHandler)
|
||||
http.HandleFunc("POST /new/group", CreateGroupHandler)
|
||||
http.HandleFunc("POST /new/messageto/{groupid}", SendMessageHandler)
|
||||
http.HandleFunc("POST /new/messageto/group/{groupid}", SendMessageToGroupHandler)
|
||||
|
||||
log.Fatal(http.ListenAndServe(":8080", nil))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user