1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00
go-micro/runtime
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
..
kubernetes Runtime: Add Kubernetes ServiceAccounts & Remove imagePullSecrets 2020-04-27 14:13:51 +01:00
local Don't ignore errors from checkout source code (#1584) 2020-04-28 10:51:39 +02:00
service api/router: avoid unneeded loops and fix path match (#1594) 2020-04-29 15:23:10 +03:00
default.go Fixing too large offsets for default runtime logs (#1587) 2020-04-28 13:42:15 +01:00
options.go Runtime: Add Kubernetes ServiceAccounts & Remove imagePullSecrets 2020-04-27 14:13:51 +01:00
runtime.go Runtime Namespace (#1547) 2020-04-23 13:53:42 +01:00
service.go Enabling default runtime to run multiple versions (#1545) 2020-04-20 15:54:29 +02:00