Ryan Russell
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
weed/wdclient/net2/managed_connection.go
-
weed/wdclient/resource_pool/managed_handle.go
|
|
@ -31,7 +31,7 @@ type ManagedConn interface { |
|
|
|
// This returns the connection pool which owns this connection.
|
|
|
|
Owner() ConnectionPool |
|
|
|
|
|
|
|
// This indictes a user is done with the connection and releases the
|
|
|
|
// This indicates a user is done with the connection and releases the
|
|
|
|
// connection back to the connection pool.
|
|
|
|
ReleaseConnection() error |
|
|
|
|
|
|
|
|
|
@ -24,7 +24,7 @@ type ManagedHandle interface { |
|
|
|
// owns the resource.
|
|
|
|
ReleaseUnderlyingHandle() interface{} |
|
|
|
|
|
|
|
// This indictes a user is done with the handle and releases the handle
|
|
|
|
// This indicates a user is done with the handle and releases the handle
|
|
|
|
// back to the resource pool.
|
|
|
|
Release() error |
|
|
|
|
|
|
|