micro/api
Vasiliy Tolstov d44adafca5
api/router: avoid unneeded loops and fix path match (#1594)
* api/router: avoid unneeded loops and fix path match

* if match found in google api path syntax, not try pcre loop
* if path is not ending via $ sign, append it to pcre to avoid matching other strings like
  /api/account/register can be matched to /api/account
* api: add tests and validations

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-04-29 15:23:10 +03:00
..
handler bundle qson lib in util (#1561) 2020-04-23 11:08:09 +03:00
internal/proto Further consolidate the libraries 2019-06-03 18:44:43 +01:00
proto regenerate all proto (#1440) 2020-03-30 21:58:32 +01:00
resolver Dynamic Namespace 2020-04-09 11:03:33 +01:00
router api/router: avoid unneeded loops and fix path match (#1594) 2020-04-29 15:23:10 +03:00
server log whats happening in http handler 2020-04-19 00:41:03 +01:00
service/proto regenerate all proto based files (#1531) 2020-04-14 16:25:09 +03:00
api_test.go api/router: avoid unneeded loops and fix path match (#1594) 2020-04-29 15:23:10 +03:00
api.go api/router: avoid unneeded loops and fix path match (#1594) 2020-04-29 15:23:10 +03:00