github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+incompatible/cf/models/route_summary.go (about) 1 package models 2 3 type RouteSummary struct { 4 GUID string 5 Host string 6 Domain DomainFields 7 Path string 8 Port int 9 } 10 11 func (r RouteSummary) URL() string { 12 return (&RoutePresenter{ 13 Host: r.Host, 14 Domain: r.Domain.Name, 15 Path: r.Path, 16 Port: r.Port, 17 }).URL() 18 }