{"id":26408666,"url":"https://github.com/rtler/broadcast-server","last_synced_at":"2025-03-17T18:47:10.330Z","repository":{"id":83985224,"uuid":"148180196","full_name":"RTLer/broadcast-server","owner":"RTLer","description":"golang broadcast server","archived":false,"fork":false,"pushed_at":"2020-02-22T09:58:22.000Z","size":62,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-03-27T14:30:46.880Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/RTLer.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":"2018-09-10T15:49:25.000Z","updated_at":"2024-06-19T10:25:44.388Z","dependencies_parsed_at":null,"dependency_job_id":"7e97ed77-bf37-4745-9087-45ecd16781d4","html_url":"https://github.com/RTLer/broadcast-server","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RTLer%2Fbroadcast-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RTLer%2Fbroadcast-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RTLer%2Fbroadcast-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RTLer%2Fbroadcast-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RTLer","download_url":"https://codeload.github.com/RTLer/broadcast-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244092208,"owners_count":20396753,"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":[],"created_at":"2025-03-17T18:47:09.641Z","updated_at":"2025-03-17T18:47:10.315Z","avatar_url":"https://github.com/RTLer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Broadcast Server\n\n\nrun with docker\n\n\nthis service run on redis for publish messages \n\n\n# How it`s run?\n```\ngo run *.go -BroadcastStats=true -authUrl=http://localhost:8090/api/broadcast/auth -webhookUrl=http://localhost:8090/api/broadcast/webhook -redisAddress=:6389 -serverAddress=:8081 -debug=true -queues=success,failed\n```\n\n# flags describe:\n\n\n* **BroadcastStats**: this flag as default is false, if you set this on true tick online users every 10 seconds.\n* **serverAddress**: server port. default is on :8081\n* **redisAddress**: set redist connection port, default is on :6379\n* **authUrl**: url of your client server for auth users\n* **webhookUrl**: webhook url that broadcast server call that on any action \n* **debug**: show logs for debuging\n* **queues**: RabbitMQ queues. like: transactions,tickets. split with comma. the default queue name is **default**\n\n\n# data structure for input/output\n\n```json\n{\n  \"id\": \"51fc8126-221e-43fc-abee-91a66fce4fa9\",//uuid string\n  \"command\": \"auth\",\n  \"content\": \"a message title\",//string\n  \"data\": {}//object\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtler%2Fbroadcast-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtler%2Fbroadcast-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtler%2Fbroadcast-server/lists"}