{"id":44539424,"url":"https://github.com/xentek/pikaq","last_synced_at":"2026-02-13T18:55:58.733Z","repository":{"id":52546357,"uuid":"96140829","full_name":"xentek/pikaq","owner":"xentek","description":"Pikaq makes writing your own high performance message-based services fun and type safe.","archived":false,"fork":false,"pushed_at":"2021-04-26T15:23:05.000Z","size":54,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-01-14T17:55:22.418Z","etag":null,"topics":["amqp","amqp-client","amqp0-9-1","consumer","go","golang","mq","rabbitmq"],"latest_commit_sha":null,"homepage":null,"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/xentek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-03T18:48:48.000Z","updated_at":"2021-04-28T03:03:44.000Z","dependencies_parsed_at":"2022-09-26T19:02:25.774Z","dependency_job_id":null,"html_url":"https://github.com/xentek/pikaq","commit_stats":null,"previous_names":["macandmia/pikaq"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/xentek/pikaq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xentek%2Fpikaq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xentek%2Fpikaq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xentek%2Fpikaq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xentek%2Fpikaq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xentek","download_url":"https://codeload.github.com/xentek/pikaq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xentek%2Fpikaq/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29414287,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["amqp","amqp-client","amqp0-9-1","consumer","go","golang","mq","rabbitmq"],"created_at":"2026-02-13T18:55:55.713Z","updated_at":"2026-02-13T18:55:58.720Z","avatar_url":"https://github.com/xentek.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pikaq [![Build Status](https://travis-ci.org/xentek/pikaq.svg?branch=master)](https://travis-ci.org/xentek/pikaq) [![GoDoc](https://godoc.org/github.com/xentek/pikaq?status.svg)](https://godoc.org/github.com/xentek/pikaq) [![Go Report Card](https://goreportcard.com/badge/github.com/xentek/pikaq)](https://goreportcard.com/report/github.com/xentek/pikaq) [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/xentek/pikaq/blob/master/LICENSE) \n\n![PikaQ, I choose you!](http://xentek-images.s3.amazonaws.com/pikachu-and-ash.png \"PikaQ, I choose you!\")\n\n#### __PikaQ, I choose YOU!__\n\nPikaQ makes working with Rabbit MQ _even_ easier. It provides a thin layer around [streadway/amqp](https://github.com/streadway/amqp), the defacto standard golang library for publishing and consuming Rabbit MQ messages. This package makes writing your own high performance message-based services fun and type safe.\n\n\u003e The name \"pika\" is used for any member of the Ochotonidae, a family within the order of lagomorphs, which also includes the Leporidae (rabbits and hares).\n\u003e __-- [Wikipedia](https://en.wikipedia.org/wiki/Pika)__\n\n---\n\n## Install\n\n    go get https://github.com/xentek/pikaq\n\n## Import\n\n    import \"github.com/xentek/pikaq\"\n\n## Usage\n\nThe simplest consumer you can create just logs and _acks_ each message it recieves. The example below uses the built in `LoggingHandler`. \n\nFor your consumer, write a function with the following signature: `func(pikaq.Messages, chan error)`, and pass it as the last argument of `pikaq.LoggingHandler`. Refer to the [examples](_examples) for more information.\n\n```golang\npackage main\n\nimport (\n\t\"log\"\n\n\t\"github.com/xentek/pikaq\"\n)\n\nfunc main() {\n\tc, err := pikaq.NewConsumer(\"amqp://localhost:5672\", \"amq.direct\", \"direct\", \"example-queue\", \"routing-key\", \"example\", pikaq.LoggingHandler)\n\tif err != nil {\n\t\tlog.Fatalf(\"New Consumer Error: %s\", err)\n\t}\n\tlog.Printf(\"Started Consumer: %s\", c.tag.Tag())\n}\n```\n## Contributing\n\nRefer to our [Contributor's Guide](CONTRIBUTING.md) to learn how you can participate in this project.\n\n## More Info\n\n  - [GoDoc](https://godoc.org/github.com/xentek/pikaq)\n  - [Wiki](https://github.com/xentek/pikaq/wiki)\n  - [Examples](_examples)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxentek%2Fpikaq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxentek%2Fpikaq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxentek%2Fpikaq/lists"}