{"id":33182941,"url":"https://github.com/vcabbage/amqp","last_synced_at":"2026-01-14T19:52:03.010Z","repository":{"id":57479235,"uuid":"86774550","full_name":"vcabbage/amqp","owner":"vcabbage","description":"AMQP 1.0 client library for Go.","archived":true,"fork":false,"pushed_at":"2019-12-10T21:27:13.000Z","size":1073,"stargazers_count":138,"open_issues_count":25,"forks_count":102,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-11-20T22:03:35.799Z","etag":null,"topics":["amqp","client","golang","library"],"latest_commit_sha":null,"homepage":"https://godoc.org/pack.ag/amqp","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/vcabbage.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-31T03:34:42.000Z","updated_at":"2025-07-04T15:38:32.000Z","dependencies_parsed_at":"2022-09-17T04:51:18.512Z","dependency_job_id":null,"html_url":"https://github.com/vcabbage/amqp","commit_stats":null,"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"purl":"pkg:github/vcabbage/amqp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcabbage%2Famqp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcabbage%2Famqp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcabbage%2Famqp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcabbage%2Famqp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vcabbage","download_url":"https://codeload.github.com/vcabbage/amqp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcabbage%2Famqp/sbom","scorecard":{"id":917277,"data":{"date":"2025-08-11","repo":{"name":"github.com/vcabbage/amqp","commit":"5a75e78e59d314879580d023e789feb1d4d1d22b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"checks":[{"name":"Code-Review","score":4,"reason":"Found 12/29 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/tests.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/vcabbage/amqp/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/vcabbage/amqp/tests.yml/master?enable=pin","Warn: goCommand not pinned by hash: .github/workflows/tests.yml:34","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   1 out of   2 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T21:30:22.309Z","repository_id":57479235,"created_at":"2025-08-24T21:30:22.309Z","updated_at":"2025-08-24T21:30:22.309Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28433344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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","client","golang","library"],"created_at":"2025-11-16T04:00:32.462Z","updated_at":"2026-01-14T19:52:02.999Z","avatar_url":"https://github.com/vcabbage.png","language":"Go","funding_links":[],"categories":["Table of Contents"],"sub_categories":["Libraries and Clients"],"readme":"# **pack.ag/amqp**\n\n[![Go Report Card](https://goreportcard.com/badge/pack.ag/amqp)](https://goreportcard.com/report/pack.ag/amqp)\n[![Coverage Status](https://coveralls.io/repos/github/vcabbage/amqp/badge.svg?branch=master)](https://coveralls.io/github/vcabbage/amqp?branch=master)\n[![Build Status](https://github.com/vcabbage/amqp/workflows/tests/badge.svg)](https://github.com/vcabbage/amqp/actions)\n[![GoDoc](https://godoc.org/pack.ag/amqp?status.svg)](http://godoc.org/pack.ag/amqp)\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/vcabbage/amqp/master/LICENSE)\n\npack.ag/amqp is an AMQP 1.0 client implementation for Go.\n\n**NOTE: This project is no longer under active development. See [issue #205](https://github.com/vcabbage/amqp/issues/205) for details.**\n\n[AMQP 1.0](http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-overview-v1.0-os.html) is not compatible with AMQP 0-9-1 or 0-10, which are\nthe most common AMQP protocols in use today. A list of AMQP 1.0 brokers and other\nAMQP 1.0 resources can be found at [github.com/xinchen10/awesome-amqp](https://github.com/xinchen10/awesome-amqp).\n\nThis library aims to be stable and worthy of production usage, but the API is still subject to change. To conform with SemVer, the major version will remain 0 until the API is deemed stable. During this period breaking changes will be indicated by bumping the minor version. Non-breaking changes will bump the patch version.\n\n## Install\n\n```\ngo get -u pack.ag/amqp\n```\n\n## Contributing\n\nContributions are welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## Example Usage\n\n``` go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"log\"\n\t\"time\"\n\n\t\"pack.ag/amqp\"\n)\n\nfunc main() {\n\t// Create client\n\tclient, err := amqp.Dial(\"amqps://my-namespace.servicebus.windows.net\",\n\t\tamqp.ConnSASLPlain(\"access-key-name\", \"access-key\"),\n\t)\n\tif err != nil {\n\t\tlog.Fatal(\"Dialing AMQP server:\", err)\n\t}\n\tdefer client.Close()\n\n\t// Open a session\n\tsession, err := client.NewSession()\n\tif err != nil {\n\t\tlog.Fatal(\"Creating AMQP session:\", err)\n\t}\n\n\tctx := context.Background()\n\n\t// Send a message\n\t{\n\t\t// Create a sender\n\t\tsender, err := session.NewSender(\n\t\t\tamqp.LinkTargetAddress(\"/queue-name\"),\n\t\t)\n\t\tif err != nil {\n\t\t\tlog.Fatal(\"Creating sender link:\", err)\n\t\t}\n\n\t\tctx, cancel := context.WithTimeout(ctx, 5*time.Second)\n\n\t\t// Send message\n\t\terr = sender.Send(ctx, amqp.NewMessage([]byte(\"Hello!\")))\n\t\tif err != nil {\n\t\t\tlog.Fatal(\"Sending message:\", err)\n\t\t}\n\n\t\tsender.Close(ctx)\n\t\tcancel()\n\t}\n\n\t// Continuously read messages\n\t{\n\t\t// Create a receiver\n\t\treceiver, err := session.NewReceiver(\n\t\t\tamqp.LinkSourceAddress(\"/queue-name\"),\n\t\t\tamqp.LinkCredit(10),\n\t\t)\n\t\tif err != nil {\n\t\t\tlog.Fatal(\"Creating receiver link:\", err)\n\t\t}\n\t\tdefer func() {\n\t\t\tctx, cancel := context.WithTimeout(ctx, 1*time.Second)\n\t\t\treceiver.Close(ctx)\n\t\t\tcancel()\n\t\t}()\n\n\t\tfor {\n\t\t\t// Receive next message\n\t\t\tmsg, err := receiver.Receive(ctx)\n\t\t\tif err != nil {\n\t\t\t\tlog.Fatal(\"Reading message from AMQP:\", err)\n\t\t\t}\n\n\t\t\t// Accept message\n\t\t\tmsg.Accept()\n\n\t\t\tfmt.Printf(\"Message received: %s\\n\", msg.GetData())\n\t\t}\n\t}\n}\n```\n\n## Related Projects\n\n| Project | Description |\n|---------|-------------|\n| [github.com/Azure/azure-event-hubs-go](https://github.com/Azure/azure-event-hubs-go) * | Library for interacting with Microsoft Azure Event Hubs. |\n| [github.com/Azure/azure-service-bus-go](https://github.com/Azure/azure-service-bus-go) * | Library for interacting with Microsoft Azure Service Bus. |\n| [gocloud.dev/pubsub](https://gocloud.dev/pubsub) * | Library for portably interacting with Pub/Sub systems. |\n| [qpid-proton](https://github.com/apache/qpid-proton/tree/go1) | AMQP 1.0 library using the Qpid Proton C bindings. |\n\n`*` indicates that the project uses this library.\n\nFeel free to send PRs adding additional projects. Listed projects are not limited to those that use this library as long as they are potentially useful to people who are looking at an AMQP library.\n\n### Other Notes\n\nBy default, this package depends only on the standard library. Building with the\n`pkgerrors` tag will cause errors to be created/wrapped by the github.com/pkg/errors\nlibrary. This can be useful for debugging and when used in a project using\ngithub.com/pkg/errors.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvcabbage%2Famqp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvcabbage%2Famqp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvcabbage%2Famqp/lists"}