We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cff9b0c commit 9ccc7bbCopy full SHA for 9ccc7bb
session.go
@@ -50,6 +50,9 @@ type Session interface {
50
// Context returns the connection's context. The returned context is always
51
// non-nil and holds the same data as the Context passed into auth
52
// handlers and callbacks.
53
+ //
54
+ // The context is canceled when the client's connection closes or I/O
55
+ // operation fails.
56
Context() context.Context
57
58
// Permissions returns a copy of the Permissions object that was available for
0 commit comments