doc.go 534 B

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