{"id":34999801,"url":"https://github.com/chrootlogin/event","last_synced_at":"2026-05-22T15:03:19.317Z","repository":{"id":57643782,"uuid":"145234539","full_name":"chrootlogin/event","owner":"chrootlogin","description":"A small event handling system for Go","archived":false,"fork":false,"pushed_at":"2018-08-29T09:58:28.000Z","size":6,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-02T04:52:22.530Z","etag":null,"topics":["events","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrootlogin.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}},"created_at":"2018-08-18T16:17:41.000Z","updated_at":"2018-08-25T10:26:32.000Z","dependencies_parsed_at":"2022-08-27T22:52:50.418Z","dependency_job_id":null,"html_url":"https://github.com/chrootlogin/event","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/chrootlogin/event","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrootlogin%2Fevent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrootlogin%2Fevent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrootlogin%2Fevent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrootlogin%2Fevent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrootlogin","download_url":"https://codeload.github.com/chrootlogin/event/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrootlogin%2Fevent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28071088,"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","status":"online","status_checked_at":"2025-12-27T02:00:05.897Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["events","go","golang"],"created_at":"2025-12-27T03:25:35.225Z","updated_at":"2025-12-27T03:25:36.028Z","avatar_url":"https://github.com/chrootlogin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Event Handler for GoLang\n\nThis can be used to create an event system in your go application\n\n## Example\n\n### Register event handler\n\n```\nevent.Events().On(\"init-router\", func(input ...interface{}) {\n  router, ok := input[0].(*gin.Engine)\n\tif !ok {\n\t\tlog.Fatal(\"Can't convert input to gin.Engine.\")\n\t}\n\n\tplugins.Registry().RegisterRoutes(router)\n})\n```\n\n### Emit event and run event handlers\n\n```\nevent.Events().Emit(\"init-router\", router)\n```\n\n## License\n\nThis stuff is licensed under LGPL 3.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrootlogin%2Fevent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrootlogin%2Fevent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrootlogin%2Fevent/lists"}