()
| 299 | } |
| 300 | |
| 301 | func (u *NylonEndpoint) Metric() uint32 { |
| 302 | // if link is dead, return INF |
| 303 | if !u.IsActive() { |
| 304 | return INF |
| 305 | } |
| 306 | return DurationToMetric(u.StabilizedPing()) |
| 307 | } |
| 308 | |
| 309 | func (u *NylonEndpoint) IsRemote() bool { |
| 310 | return u.remoteInit |
nothing calls this directly
no test coverage detected