Connector is an interface for establishing connections to the server.
| 38 | |
| 39 | // Connector is an interface for establishing connections to the server. |
| 40 | type Connector interface { |
| 41 | Open() error |
| 42 | Connect() (net.Conn, error) |
| 43 | Close() error |
| 44 | } |
| 45 | |
| 46 | type MessageConnector interface { |
| 47 | Connect() (*msg.Conn, error) |
no outgoing calls
no test coverage detected
searching dependent graphs…