feat: verify RpcPath on startup (#2159)

* feat: verify RpcPath on startup

* feat: support http header Grpc-Timeout
This commit is contained in:
Kevin Wan
2022-07-17 12:37:23 +08:00
committed by GitHub
parent b206dd28a3
commit 557383fbbf
11 changed files with 155 additions and 31 deletions

View File

@@ -21,8 +21,8 @@ type (
Method string
// Path is the HTTP path.
Path string
// Rpc is the gRPC rpc method, with format of package.service/method
Rpc string
// RpcPath is the gRPC rpc method, with format of package.service/method
RpcPath string
}
// upstream is the configuration for upstream.