-
Notifications
You must be signed in to change notification settings - Fork 17.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proposal: x/crypto/ssh: new API to allow user to get channel close event #67672
Comments
It would probably be better to use a context.Context here, that also has a Done channel but is more versatile. |
@RainyBow Please add the new API with comments to this issue, rather than pointing us to a different location. Thanks. |
add code pictures |
Thanks. But, please don't use pictures for code or text. Pictures are much harder to read. Just use ordinary text. Thanks. |
add full code and git diff ouput |
Proposal Details
Allows users to register a channel to receive ssh Channel closed events
like this:
https://go-review.googlesource.com/c/crypto/+/587235#message-6c854613c0088fc750e4e69e7d2af85dd2fea03d
file: ssh/channel.go
git diff
The text was updated successfully, but these errors were encountered: