OnReady is called when the server is ready to receive connections. It has an opportunity to return an error to abort the startup.
()
| 20 | // OnReady is called when the server is ready to receive connections. It has an opportunity to return an error to |
| 21 | // abort the startup. |
| 22 | OnReady() error |
| 23 | |
| 24 | // OnShutdown is called when a shutdown of the SSH server is desired. The shutdownContext is passed as a deadline |
| 25 | // for the shutdown, after which the server should abort all running connections and return as fast as |
no outgoing calls
no test coverage detected