(routeName string)
| 142 | } |
| 143 | |
| 144 | func (routeActor routeActor) FindDomain(routeName string) (string, models.DomainFields, error) { |
| 145 | host, domain, continueSearch, err := parseRoute(routeName, routeActor.domainRepo.FindPrivateByName) |
| 146 | if continueSearch { |
| 147 | host, domain, _, err = parseRoute(routeName, routeActor.domainRepo.FindSharedByName) |
| 148 | } |
| 149 | return host, domain, err |
| 150 | } |
| 151 | |
| 152 | func (routeActor routeActor) FindPath(routeName string) (string, string) { |
| 153 | routeSlice := strings.Split(routeName, "/") |
no test coverage detected