feat: export gateway.Server to let users add middlewares (#2157)

This commit is contained in:
Kevin Wan
2022-07-16 22:59:25 +08:00
committed by GitHub
parent 4d7dae9cea
commit 453fa309b1
3 changed files with 17 additions and 17 deletions

View File

@@ -24,6 +24,7 @@ type (
// Rpc is the gRPC rpc method, with format of package.service/method
Rpc string
}
// upstream is the configuration for upstream.
upstream struct {
// Grpc is the target of upstream.