{"id":63674,"library":"panjf2000-gnet","title":"gnet","description":"gnet is an event-driven networking framework for Go, high-performance and lightweight.","status":"active","version":"1.6.7","language":"go","source_language":null,"source_url":"https://github.com/panjf2000/gnet","tags":["networking","event-driven","high-performance","tcp"],"install":[{"cmd":"go get github.com/panjf2000/gnet","lang":"bash","label":"Install github.com/panjf2000/gnet"}],"dependencies":[],"imports":[{"symbol":"gnet","correct":"github.com/panjf2000/gnet"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/panjf2000/gnet\"\n)\n\ntype echoServer struct {\n\t*gnet.EventServer\n}\n\nfunc (es *echoServer) React(frame []byte, c gnet.Conn) (out []byte, action gnet.Action) {\n\tout = frame\n\treturn\n}\n\nfunc main() {\n\techo := &echoServer{}\n\tfmt.Println(gnet.Serve(echo, \"tcp://:8080\", gnet.WithMulticore(true)))\n}","lang":"go","description":"Start an echo server using gnet"},"warnings":[],"env_vars":null,"search_vec":"'driven':7,20 'event':6,19 'event-driven':5,18 'framework':9 'gnet':1,2 'go':11 'high':13,22 'high-perform':12,21 'lightweight':16 'network':8,17 'perform':14,23 'tcp':24","created_at":"2026-06-17T16:46:38.852146+00:00","updated_at":"2026-06-17T16:46:38.852146+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/panjf2000/gnet","github":"https://github.com/panjf2000/gnet","docs":"https://pkg.go.dev/github.com/panjf2000/gnet#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-17","next_check":"2026-12-14","install_tag":null}}