micro/server
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
..
grpc api/router: avoid unneeded loops and fix path match (#1594) 2020-04-29 15:23:10 +03:00
mock fix import paths for v2 release 2020-01-30 14:44:40 +03:00
mucp fix import paths for v2 release 2020-01-30 14:44:40 +03:00
proto regenerate all proto based files (#1531) 2020-04-14 16:25:09 +03:00
context.go Wait() option now accept *sync.WaitGroup 2019-05-27 21:17:57 +08:00
extractor_test.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
extractor.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
handler.go add AutoAck support for Server 2019-05-24 20:06:27 +08:00
options.go Set default server auth 2020-04-03 12:33:19 +01:00
rpc_codec_test.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_codec.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_event.go [WIP]: broker ErrorHandler option (#1296) 2020-03-06 21:25:16 +00:00
rpc_handler.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_request.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_response.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_router.go Add client header to rpcRequest header; issue #957 (#1378) 2020-03-21 23:25:23 +00:00
rpc_server.go change logging for service startup 2020-04-23 11:24:39 +01:00
rpc_stream_test.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_stream.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_util.go Fix rpc go routine leak 2019-11-27 17:12:07 +00:00
server.go Renaming ShutdownSignals -> Shutdown (#1553) 2020-04-21 14:14:20 +02:00
subscriber.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
wrapper.go move wrapper files 2018-04-14 19:24:17 +01:00