This commit is contained in:
Asim Aslam 2019-12-16 17:36:47 +00:00
parent 1c8d15fe4b
commit cb15fadcee
2 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ func (p *Proxy) ServeRequest(ctx context.Context, req server.Request, rsp server
} }
func (p *Proxy) String() string { func (p *Proxy) String() string {
return "grpc" return "grpc"
} }
// NewProxy returns a new grpc proxy server // NewProxy returns a new grpc proxy server

View File

@ -189,7 +189,7 @@ func (p *Proxy) ServeRequest(ctx context.Context, req server.Request, rsp server
} }
func (p *Proxy) String() string { func (p *Proxy) String() string {
return "http" return "http"
} }
// NewSingleHostProxy returns a router which sends requests to a single http backend // NewSingleHostProxy returns a router which sends requests to a single http backend