()
| 81 | } |
| 82 | |
| 83 | func (l *Location) URL() string { |
| 84 | return l.Server + ":" + strconv.Itoa(l.Port) |
| 85 | } |
| 86 | |
| 87 | // the distance is a relative value, similar to network lantency |
| 88 | func (a Location) Distance(b Location) float64 { |
no outgoing calls
no test coverage detected