Document session context canceling (#50)
This commit is contained in:
parent
cff9b0cc85
commit
9ccc7bbb64
@ -50,6 +50,9 @@ type Session interface {
|
||||
// Context returns the connection's context. The returned context is always
|
||||
// non-nil and holds the same data as the Context passed into auth
|
||||
// handlers and callbacks.
|
||||
//
|
||||
// The context is canceled when the client's connection closes or I/O
|
||||
// operation fails.
|
||||
Context() context.Context
|
||||
|
||||
// Permissions returns a copy of the Permissions object that was available for
|
||||
|
Loading…
Reference in New Issue
Block a user