Created
July 19, 2015 15:46
-
-
Save ChrisBuchholz/86d9cbceede173850530 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let mut server = Server::new(); | |
server.get("/", hello_handle); | |
server.get("/hmm", hmm_handle); | |
server.blueprint("/a", a::routes); | |
server.blueprint("/b", b::routes); | |
server.listen("127.0.0.1:8080"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment