(ui terminal.UI, routeRepo api.RouteRepository, domainRepo api.DomainRepository)
| 35 | } |
| 36 | |
| 37 | func NewRouteActor(ui terminal.UI, routeRepo api.RouteRepository, domainRepo api.DomainRepository) routeActor { |
| 38 | return routeActor{ |
| 39 | ui: ui, |
| 40 | routeRepo: routeRepo, |
| 41 | domainRepo: domainRepo, |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | func (routeActor routeActor) CreateRandomTCPRoute(domain models.DomainFields) (models.Route, error) { |
| 46 | routeActor.ui.Say(T("Creating random route for {{.Domain}}", map[string]interface{}{ |
no outgoing calls
no test coverage detected