The Connect method of the Client type does not currently block since it just starts goroutines. There is a desire from users to be able to ensure that the Client has actually established a connection to a topology before using the Client in an application. The database/sql package's DB type has this exact method, so there is precedent for such a method. Add a Ping method to the Client type that selects a server and calls the ping command on it.
- Assignee:
- Mathew Robinson (Inactive)
- Reporter:
- Kristofer Brandow (Inactive)
- Votes:
-
0 Vote for this issue
- Watchers:
-
2 Start watching this issue
- Created:
- Updated:
- Resolved: