NewServicesData creates a new ServicesData instance for the given service data.
(services *service.ServicesData, expressions *expr.HTTPExpr)
| 580 | |
| 581 | // NewServicesData creates a new ServicesData instance for the given service data. |
| 582 | func NewServicesData(services *service.ServicesData, expressions *expr.HTTPExpr) *ServicesData { |
| 583 | return &ServicesData{ |
| 584 | ServicesData: services, |
| 585 | Expressions: expressions, |
| 586 | HTTPData: make(map[string]*ServiceData), |
| 587 | } |
| 588 | } |
| 589 | |
| 590 | // Get retrieves the transport data for the service with the given name |
| 591 | // computing it if needed. It returns nil if there is no service with the given |
no outgoing calls