{"id":52568,"library":"fatih-pool-v2","title":"Pool v2","description":"A connection pool for net.Conn interfaces to manage and reuse network connections.","status":"active","version":"2.0.0","language":"go","source_language":null,"source_url":"https://github.com/fatih/pool","tags":["pool","connection","networking","reuse"],"install":[{"cmd":"go get gopkg.in/fatih/pool.v2","lang":"bash","label":"Install gopkg.in/fatih/pool.v2"}],"dependencies":[],"imports":[{"symbol":"pool","correct":"gopkg.in/fatih/pool.v2"}],"quickstart":{"code":"package main\n\nimport (\n    \"fmt\"\n    \"net\"\n    \"gopkg.in/fatih/pool.v2\"\n)\n\nfunc main() {\n    p, err := pool.NewChannelPool(5, 30, func() (net.Conn, error) {\n        return net.Dial(\"tcp\", \"example.com:80\")\n    })\n    if err != nil {\n        fmt.Println(err)\n        return\n    }\n    defer p.Close()\n    conn, _ := p.Get()\n    defer conn.Close()\n    fmt.Println(\"Got connection from pool\")\n}","lang":"go","description":"Creates a connection pool and retrieves a connection."},"warnings":[],"env_vars":null,"search_vec":"'connect':4,14,16 'interfac':8 'manag':10 'net.conn':7 'network':13,17 'pool':1,5,15 'reus':12,18 'v2':2","created_at":"2026-06-15T07:00:21.261686+00:00","updated_at":"2026-06-15T07:00:21.261686+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/fatih/pool","github":"https://github.com/fatih/pool","docs":"https://pkg.go.dev/gopkg.in/fatih/pool.v2#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}