Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nange committed Nov 16, 2017
1 parent 911064e commit 7946adf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ conn.Close()
conn.(*PoolConn).MarkUnusable()
conn.Close()

// 调用MarkUnusable()后,会返回true
conn.(*PoolConn).IsUnusable()

// 释放当前连接池中所有连接
pool.Close()

Expand Down

0 comments on commit 7946adf

Please sign in to comment.