(s string)
| 131 | } |
| 132 | |
| 133 | func (c *ChannelBind) ParseEndpoint(s string) (conn.Endpoint, error) { |
| 134 | addr, err := netip.ParseAddrPort(s) |
| 135 | if err != nil { |
| 136 | return nil, err |
| 137 | } |
| 138 | return ChannelEndpoint(addr.Port()), nil |
| 139 | } |
nothing calls this directly
no test coverage detected