Created
November 7, 2021 16:38
-
-
Save jayhuang75/82e6d8fbac9615c3eaa3069698db1162 to your computer and use it in GitHub Desktop.
go train delay rust api routes
This file contains hidden or 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
| pub fn routes_conf(config: &mut web::ServiceConfig) { | |
| // health check | |
| config.service(check); | |
| config.service(get_delays); | |
| config.service(search_by_date); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment