{"id":51717,"library":"cloudwego-netpoll","title":"CloudWeGo Netpoll","description":"Package netpoll provides a high-performance network polling library for Go, designed for RPC frameworks.","status":"active","version":"0.7.3","language":"go","source_language":null,"source_url":"https://github.com/cloudwego/netpoll","tags":["networking","high-performance","rpc","event-loop"],"install":[{"cmd":"go get github.com/cloudwego/netpoll","lang":"bash","label":"Install github.com/cloudwego/netpoll"}],"dependencies":[],"imports":[{"symbol":"netpoll","correct":"github.com/cloudwego/netpoll"}],"quickstart":{"code":"package main\n\nimport (\n    \"context\"\n    \"fmt\"\n    \"github.com/cloudwego/netpoll\"\n)\n\nfunc main() {\n    listener, _ := netpoll.CreateListener(\"tcp\", \":8080\")\n    eventLoop, _ := netpoll.NewEventLoop(func(ctx context.Context, connection netpoll.Connection) error {\n        reader := connection.Reader()\n        bytes, _ := reader.Next(reader.Len())\n        fmt.Println(\"Received:\", string(bytes))\n        return nil\n    })\n    eventLoop.Serve(listener)\n}","lang":"go","description":"Create a TCP server using Netpoll's event loop."},"warnings":[],"env_vars":null,"search_vec":"'cloudwego':1 'design':15 'event':25 'event-loop':24 'framework':18 'go':14 'high':8,21 'high-perform':7,20 'librari':12 'loop':26 'netpol':2,4 'network':10,19 'packag':3 'perform':9,22 'poll':11 'provid':5 'rpc':17,23","created_at":"2026-06-15T06:27:18.050347+00:00","updated_at":"2026-06-15T06:27:18.050347+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/cloudwego/netpoll","github":"https://github.com/cloudwego/netpoll","docs":"https://pkg.go.dev/github.com/cloudwego/netpoll#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking"],"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}}