{"id":26199658,"url":"https://github.com/forfd8960/simplequeue","last_synced_at":"2025-09-04T15:40:14.657Z","repository":{"id":180010352,"uuid":"664300915","full_name":"forfd8960/simplequeue","owner":"forfd8960","description":"golang simple message queue","archived":false,"fork":false,"pushed_at":"2023-07-20T13:22:19.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-19T18:01:49.241Z","etag":null,"topics":["go","messagequeue"],"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/forfd8960.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":"2023-07-09T14:52:23.000Z","updated_at":"2023-07-15T01:27:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"06e6a278-5419-41c2-883a-2cab687fb93a","html_url":"https://github.com/forfd8960/simplequeue","commit_stats":null,"previous_names":["forfd8960/simplequeue"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forfd8960%2Fsimplequeue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forfd8960%2Fsimplequeue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forfd8960%2Fsimplequeue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forfd8960%2Fsimplequeue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forfd8960","download_url":"https://codeload.github.com/forfd8960/simplequeue/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243147071,"owners_count":20243746,"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":["go","messagequeue"],"created_at":"2025-03-12T02:59:34.102Z","updated_at":"2025-03-12T02:59:34.628Z","avatar_url":"https://github.com/forfd8960.png","language":"Go","readme":"# simplequeue\n\n## Start Server\n\n```sh\ngo run main.go\n2023/07/19 23:16:58 -----------Start queueServer On 8080---------\n2023/07/19 23:16:58 --------Starting Topic Message Pump---------\n2023/07/19 23:17:04 created new channel:  msg-chan1\n2023/07/19 23:17:04 add client to queue server:  {1 0x140000b4500   0x1400019a2d0 0x140001964e0}\nfound client:  1\nfound client Channel:  msg-chan1\nfound client Channel Topic:  hello-topic\n--------Starting Client Message Pump--------\n2023/07/19 23:17:04 cli channel: 0x140001964e0\n2023/07/19 23:17:04 cli channel msg length: 0\n2023/07/19 23:17:08 [QueueServer] Incoming req: pub:\u003ctopic:\"hello-topic\" msg:\"Hello Hello Hello - How are you\" \u003e\n2023/07/19 23:17:08 [QueueServer] get topic: \u0026{mu:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}} qs:0x140000b4500 Name:hello-topic ChannelMap:map[msg-chan1:0x1400019a2d0] MemoryMsgChan:0x14000196420}\n2023/07/19 23:17:08 [QueueServer] new message: id:\"cirvst382vs422ad2l00\" body:\"Hello Hello Hello - How are you\" timestamp:1689779828\n2023/07/19 23:17:08 [QueueServer] Success Put Msg: id:\"cirvst382vs422ad2l00\" body:\"Hello Hello Hello - How are you\" timestamp:1689779828 , to: hello-topic\n2023/07/19 23:17:08 put msg to channels:  id:\"cirvst382vs422ad2l00\" body:\"Hello Hello Hello - How are you\" timestamp:1689779828\n2023/07/19 23:17:08 length of channel:  1\n2023/07/19 23:17:08 put msg to channel:  id:\"cirvst382vs422ad2l00\" body:\"Hello Hello Hello - How are you\" timestamp:1689779828  \u0026{{{0 0} 0 0 {{} 0} {{} 0}} hello-topic msg-chan1 0x14000196480 0x140000b4500 map[1:0x140001a6280]}\n2023/07/19 23:17:08 Send Msg:  id:\"cirvst382vs422ad2l00\" body:\"Hello Hello Hello - How are you\" timestamp:1689779828\n```\n\n## Start Consumer\n\n```sh\ngo run main.go\n2023/07/19 23:17:04 Sub Event to queue server:  localhost:8080\n2023/07/19 23:17:04 [Consumer] SubEvent ClientID: 1\n2023/07/19 23:17:08 received msg:  {cirvst382vs422ad2l00 Hello Hello Hello - How are you 1689779828 0 {} [] 0}\n```\n\n## Start Producer\n\n```sh\ngo run producer.go\n2023/07/19 23:17:08 Pub message to queue server:  localhost:8080\n2023/07/19 23:17:08 [Producer] PubMessage:\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforfd8960%2Fsimplequeue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforfd8960%2Fsimplequeue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforfd8960%2Fsimplequeue/lists"}