{"id":17955681,"url":"https://github.com/smallnest/epoller","last_synced_at":"2026-04-06T03:35:44.471Z","repository":{"id":35003006,"uuid":"177085785","full_name":"smallnest/epoller","owner":"smallnest","description":"epoll implementation for connections in Linux, MacOS and Windows","archived":false,"fork":false,"pushed_at":"2025-03-24T01:37:32.000Z","size":68,"stargazers_count":86,"open_issues_count":1,"forks_count":28,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-29T05:09:12.862Z","etag":null,"topics":["epoll","golang","network","socket","tcp"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smallnest.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-22T06:42:31.000Z","updated_at":"2025-03-25T04:31:06.000Z","dependencies_parsed_at":"2024-06-18T16:55:37.490Z","dependency_job_id":"92a9937c-4f0a-4fce-96dc-720404024bf1","html_url":"https://github.com/smallnest/epoller","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallnest%2Fepoller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallnest%2Fepoller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallnest%2Fepoller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallnest%2Fepoller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smallnest","download_url":"https://codeload.github.com/smallnest/epoller/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294536,"owners_count":20915340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["epoll","golang","network","socket","tcp"],"created_at":"2024-10-29T10:31:43.934Z","updated_at":"2026-04-06T03:35:39.451Z","avatar_url":"https://github.com/smallnest.png","language":"C","readme":"# epoller\nepoll implementation for connections in **Linux**, **MacOS** and **Windows**.\n\n[![License](https://img.shields.io/:license-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![GoDoc](https://godoc.org/github.com/smallnest/epoller?status.png)](http://godoc.org/github.com/smallnest/epoller)  [![github actions](https://github.com/smallnest/epoller/actions/workflows/go.yml/badge.svg)](https://github.com/smallnest/epoller/actions) [![Go Report Card](https://goreportcard.com/badge/github.com/smallnest/epoller)](https://goreportcard.com/report/github.com/smallnest/epoller) [![coveralls](https://coveralls.io/repos/smallnest/epoller/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/smallnest/epoller?branch=master) \n\n\nIts target is implementing a simple epoll lib for nework connections, so you should see it only contains few methods about net.Conn:\n\n```go\ntype Poller interface {\n\t// Add adds an existed connection to poller.\n\tAdd(conn net.Conn) error\n\t// Remove removes a connection from poller. Notice it doesn't call the conn.Close method.\n\tRemove(conn net.Conn) error\n\t// Wait waits for at most count events and returns the connections.\n\tWait(count int) ([]net.Conn, error)\n\t// Close closes the poller. If closeConns is true, it will close all the connections.\n\tClose(closeConns bool) error\n}\n```\n\n\nInspired by [1m-go-websockets](https://github.com/eranyanay/1m-go-websockets).\n\n## Contributors\nsee [contributors](https://github.com/smallnest/rpcx/graphs/contributors).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmallnest%2Fepoller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmallnest%2Fepoller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmallnest%2Fepoller/lists"}