{"id":37188244,"url":"https://github.com/not-empty/taurus-publisher-golang","last_synced_at":"2026-01-14T21:53:28.529Z","repository":{"id":137359943,"uuid":"608313181","full_name":"not-empty/taurus-publisher-golang","owner":"not-empty","description":"Go bull publisher is a lib that provides a publisher for bull queues","archived":false,"fork":false,"pushed_at":"2024-03-18T22:16:11.000Z","size":16,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T05:36:55.433Z","etag":null,"topics":[],"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/not-empty.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-01T19:01:21.000Z","updated_at":"2024-04-11T21:24:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"dcaffdef-1cd2-4312-9255-30054c568800","html_url":"https://github.com/not-empty/taurus-publisher-golang","commit_stats":null,"previous_names":["not-empty/taurus-publisher-golang","kiwfy/golang-bull-publisher"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/not-empty/taurus-publisher-golang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/not-empty%2Ftaurus-publisher-golang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/not-empty%2Ftaurus-publisher-golang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/not-empty%2Ftaurus-publisher-golang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/not-empty%2Ftaurus-publisher-golang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/not-empty","download_url":"https://codeload.github.com/not-empty/taurus-publisher-golang/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/not-empty%2Ftaurus-publisher-golang/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28436233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T21:32:52.117Z","status":"ssl_error","status_checked_at":"2026-01-14T21:32:33.442Z","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":[],"created_at":"2026-01-14T21:53:27.859Z","updated_at":"2026-01-14T21:53:28.518Z","avatar_url":"https://github.com/not-empty.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Bull publisher\n\n[![Latest Version](https://img.shields.io/github/v/release/kiwfy/golang-bull-publisher.svg?style=flat-square)](https://github.com/kiwfy/golang-bull-publisher/releases)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\u0026label=PRs%20Welcome)](http://makeapullrequest.com)\n\nGo bull publisher is a lib that provides a publisher for bull queues\n\n### Installation\n\n    go get github.com/kiwfy/golang-bull-publisher\n\n### Usage\n\nBelow is an example which shows some common use cases for publisher.\n\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"time\"\n\n\tbullpublisher \"github.com/kiwfy/golang-bull-publisher\"\n\t\"github.com/redis/go-redis/v9\"\n)\n\ntype testeando struct {\n\tName string `json:\"name\"`\n\tData int64  `json:\"data\"`\n}\n\nfunc main() {\n\tredis := redis.NewClient(\u0026redis.Options{\n\t\tAddr: \"localhost:6379\",\n\t})\n\tcontext := context.Background()\n\tpublisher := \u0026bullpublisher.Publisher{\n\t\tRedis:   redis,\n\t\tContext: context,\n\t}\n\n\tpublisher.AddJob(\n\t\t\"teste\",\n\t\t\u0026testando{\n\t\t\tName: \"levy\",\n\t\t\tData: time.Now().Unix(),\n\t\t},\n\t\tbullpublisher.Options{\n\t\t\tAttempts:           1,\n\t\t\tBackoff:            0,\n\t\t\tDelay:              0,\n\t\t\tLifo:               false,\n\t\t\tPreventParsingData: false,\n\t\t\tPriority:           0,\n\t\t\tRemoveOnComplete:   10,\n\t\t\tRemoveOnFail:       1,\n\t\t\tTimeout:            0,\n\t\t\tJobId:              \"123t87236482\",\n\t\t\tTimestamp:          time.Now().Unix(),\n\t\t},\n\t\t\"process\",\n\t)\n}\n\n```\n\n**Kiwfy - Open your code, open your mind!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnot-empty%2Ftaurus-publisher-golang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnot-empty%2Ftaurus-publisher-golang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnot-empty%2Ftaurus-publisher-golang/lists"}