()
| 60 | } |
| 61 | |
| 62 | func (i SessionInvitation) String() string { |
| 63 | device := "<invalid>" |
| 64 | if address, err := protocol.DeviceIDFromBytes(i.From); err == nil { |
| 65 | device = address.String() |
| 66 | } |
| 67 | return fmt.Sprintf("%s@%s:%d", device, net.IP(i.Address), i.Port) |
| 68 | } |
| 69 | |
| 70 | func (i SessionInvitation) GoString() string { |
| 71 | return i.String() |
no test coverage detected