api/server/router/grpc/grpc_routes.go
Method grpcRouter.serveGRPC
has 5 return statements (exceeds 4 allowed). Open
Open
func (gr *grpcRouter) serveGRPC(ctx context.Context, w http.ResponseWriter, r *http.Request, vars map[string]string) error {
h, ok := w.(http.Hijacker)
if !ok {
return errors.New("handler does not support hijack")
}