github.com/jackc/puddle@v1.3.0/doc.go (about)

     1  // Package puddle is a generic resource pool.
     2  /*
     3  
     4  Puddle is a tiny generic resource pool library for Go that uses the standard
     5  context library to signal cancellation of acquires. It is designed to contain
     6  the minimum functionality a resource pool needs that cannot be implemented
     7  without concurrency concerns. For example, a database connection pool may use
     8  puddle internally and implement health checks and keep-alive behavior without
     9  needing to implement any concurrent code of its own.
    10  */
    11  package puddle