{"id":21125821,"url":"https://github.com/jrobles/conejo","last_synced_at":"2025-08-05T04:09:30.101Z","repository":{"id":57601388,"uuid":"55116164","full_name":"jrobles/conejo","owner":"jrobles","description":"Golang lib for simple RabbitMQ Connecting, Consuming, and Publishing ","archived":false,"fork":false,"pushed_at":"2018-08-07T19:47:38.000Z","size":24,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T12:51:23.784Z","etag":null,"topics":["golang","golang-lib","rabbitmq"],"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/jrobles.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":"2016-03-31T03:09:26.000Z","updated_at":"2022-10-15T01:32:47.000Z","dependencies_parsed_at":"2022-09-26T20:00:37.195Z","dependency_job_id":null,"html_url":"https://github.com/jrobles/conejo","commit_stats":null,"previous_names":["josemrobles/rmq-go","josemrobles/conejo"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/jrobles/conejo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrobles%2Fconejo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrobles%2Fconejo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrobles%2Fconejo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrobles%2Fconejo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jrobles","download_url":"https://codeload.github.com/jrobles/conejo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrobles%2Fconejo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264365510,"owners_count":23596852,"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":["golang","golang-lib","rabbitmq"],"created_at":"2024-11-20T04:37:06.281Z","updated_at":"2025-07-08T23:31:34.928Z","avatar_url":"https://github.com/jrobles.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Conejo [![Go Report Card](https://goreportcard.com/badge/github.com/josemrobles/conejo)](https://goreportcard.com/report/github.com/josemrobles/conejo) [![GoDoc](https://godoc.org/github.com/josmrobles/conejo?status.svg)](https://godoc.org/github.com/josemrobles/conejo) [![Sourcegraph](https://sourcegraph.com/github.com/josemrobles/conejo/-/badge.svg)](https://sourcegraph.com/github.com/josemrobles/conejo?badge)\n\nGolang lib for RabbitMQ Connecting, Consuming, and Publishing. Needs a great deal of refining, but it's quick \u0026 dirty and gets the job done for my current project. WIll definitely refactor in the near future.\n\n## Status\n\nCurrently on hold. I use this lib for several personal projects so all should be working as intended. \n\n## Goals\n\n* [ ] Unit Tests\n  * [ ] main.go\n  * [ ] channel.go\n  * [ ] producer.go\n  * [ ] queue.go\n  * [ ] exchange.go\n\n## Usage\n\n### Sample Producer\n```go\npackage main\n\nimport (\n  \"github.com/josemrobles/conejo\"\n)\n\nvar (\n  rmq      = conejo.Connect(\"amqp://guest:guest@localhost:5672\")\n  workQueue = make(chan string) \n  queue    = conejo.Queue{Name: \"queue_name\", Durable: false, Delete: false, Exclusive: false, NoWait: false}\n  exchange = conejo.Exchange{Name: \"exchange_name\", Type: \"topic\", Durable: true, AutoDeleted: false, Internal: false, NoWait: false}\n)\n\nfunc main() {\n  err := conejo.Publish(rmq, queue, exchange, \"{'employees':[{'firstName':'John','lastName':'Doe'}]}\")\n  if err != nil {\n    print(\"fubar\")\n  }\n}\n```\n\n### Sample Consumer\n```go\npackage main\n\nimport (\n  \"github.com/josemrobles/conejo\"\n)\n\nvar (\n  rmq       = conejo.Connect(\"amqp://guest:guest@localhost:5672\")\n  queue     = conejo.Queue{Name: \"queue_name\", Durable: false, Delete: false, Exclusive: false, NoWait: false}\n  exchange  = conejo.Exchange{Name: \"exchange_name\", Type: \"topic\", Durable: true, AutoDeleted: false, Internal: false, NoWait: false}\n  \n)\n\nfunc main() {\n  err := conejo.Consume(rmq, queue, exchange, \"consumer_tag\", workQueue)\n  if err != nil {\n    print(\"ERROR: %q\", err)\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrobles%2Fconejo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjrobles%2Fconejo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrobles%2Fconejo/lists"}