Open aymanbagabas opened 2 years ago
Is there a way to call a function just before the connection times out and closes?
@aymanbagabas If you're interested in some context of how I implemented this, please see: https://github.com/shellhub-io/shellhub/blob/master/agent/sshd/server.go#L197
Is there a way to call a function just before the connection times out and closes?