{"id":18451864,"url":"https://github.com/sauerbraten/pubsub","last_synced_at":"2025-12-27T20:42:46.270Z","repository":{"id":57493645,"uuid":"107707336","full_name":"sauerbraten/pubsub","owner":"sauerbraten","description":"A Go package implementing a topic-based publish-subscribe system using channels.","archived":false,"fork":false,"pushed_at":"2022-04-28T14:30:37.000Z","size":7,"stargazers_count":19,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-06T07:39:00.892Z","etag":null,"topics":["channels","go","message-bus","publish-subscribe","pubsub"],"latest_commit_sha":null,"homepage":"","language":"Go","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/sauerbraten.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":"2017-10-20T17:32:20.000Z","updated_at":"2024-05-06T14:37:35.000Z","dependencies_parsed_at":"2022-08-28T17:02:37.778Z","dependency_job_id":null,"html_url":"https://github.com/sauerbraten/pubsub","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sauerbraten%2Fpubsub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sauerbraten%2Fpubsub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sauerbraten%2Fpubsub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sauerbraten%2Fpubsub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sauerbraten","download_url":"https://codeload.github.com/sauerbraten/pubsub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247764837,"owners_count":20992185,"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":["channels","go","message-bus","publish-subscribe","pubsub"],"created_at":"2024-11-06T07:29:42.929Z","updated_at":"2025-12-27T20:42:46.230Z","avatar_url":"https://github.com/sauerbraten.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# pubsub\n\nA Go package implementing a topic-based publish-subscribe system using channels.\n\n## Usage\n\nGet the package:\n\n\t$ go get github.com/sauerbraten/pubsub\n\nImport the package:\n\n```go\nimport (\n\t\"github.com/sauerbraten/pubsub\"\n)\n```\n\nSubscribers receive updates on channels provided to them when they subscribe to a topic. Topics are automatically created when you subscribe to them and they do not exist yet. In that case, a Publisher type is returned as well, providing methods to publish updates on the new topic. Topics are removed when a subscriber unsubscribes from it and there are no other subscribers left. Publishers include a stop channel from which reading only succeeds after the topic was removed.\n\n## Documentation\n\n[Full documentation at godoc.org.](https://godoc.org/github.com/sauerbraten/pubsub)\n\n## Example\n\nSee [example/main.go](./example/main.go).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsauerbraten%2Fpubsub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsauerbraten%2Fpubsub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsauerbraten%2Fpubsub/lists"}