{"id":37113879,"url":"https://github.com/barancanatbas/pubsub","last_synced_at":"2026-01-14T13:25:20.580Z","repository":{"id":144497677,"uuid":"498864160","full_name":"barancanatbas/pubsub","owner":"barancanatbas","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-01T19:13:13.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-21T06:33:04.884Z","etag":null,"topics":["golang","message","message-broker","mutex-lock","pubsub"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/barancanatbas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-06-01T19:00:55.000Z","updated_at":"2022-06-01T19:17:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"138729ab-7a64-414f-a3d8-e0bf2d1906ec","html_url":"https://github.com/barancanatbas/pubsub","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/barancanatbas/pubsub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barancanatbas%2Fpubsub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barancanatbas%2Fpubsub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barancanatbas%2Fpubsub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barancanatbas%2Fpubsub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barancanatbas","download_url":"https://codeload.github.com/barancanatbas/pubsub/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barancanatbas%2Fpubsub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28421165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["golang","message","message-broker","mutex-lock","pubsub"],"created_at":"2026-01-14T13:25:19.856Z","updated_at":"2026-01-14T13:25:20.571Z","avatar_url":"https://github.com/barancanatbas.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pub/Sub pattern\n\n#### While writing these codes, I was inspired by a blog post.\n#### I did a little experiment to better understand the pub/sub pattern.\n#### I may have many mistakes, don't forget to report what you see.\n\n## use case\n\n* create a broker as a first step.\n* then assign a new subscriber value to the broker value using the AddSubscriber method.\n* You can listen to this subscribe value you created with the Listen method.\n* If you don't want to use it, you can write your own method.\n\n\u003cimg src=\"https://user-images.githubusercontent.com/64152397/171482876-0776bdc5-5bbb-42f2-a344-0f5ee1a5d76c.png\" width=\"800\" height=\"700\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarancanatbas%2Fpubsub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarancanatbas%2Fpubsub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarancanatbas%2Fpubsub/lists"}