由Redis支持的Go的简单作业队列-Golang开发

时间:2021-05-26 16:31:54
【文件属性】:
文件名称:由Redis支持的Go的简单作业队列-Golang开发
文件大小:82KB
文件格式:ZIP
更新时间:2021-05-26 16:31:54
Golang Miscellaneous bokchoy简介Bokchoy是一个简单的Go库,用于对任务进行排队并与工作人员在后台进行处理。 它应该很容易地集成到您的Web堆栈中,并且设计时应具有较低的安全性。简介Bokchoy是一个简单的Go库,用于对任务进行排队并与工作人员在后台进行处理。 它应该轻松地集成到您的Web堆栈中,并且其设计目的是使入门者的入门门槛降低。 它目前仅支持带有Lua魔术的Redis(客户端,哨兵和集群),但在内部它依赖于通用代理实现来对其进行扩展。 动机自从出现语言冲突以来,在Go中制作生产者/接收者系统相对容易
【文件预览】:
bokchoy-master
----task_test.go(893B)
----handler.go(681B)
----queue.go(10KB)
----bokchoy_test.go(489B)
----docs()
--------a-tour-of-bokchoy.md(24KB)
----utils_test.go(356B)
----broker_redis.go(13KB)
----server.go(114B)
----tracer_test.go(272B)
----bokchoy.go(8KB)
----terminal.go(2KB)
----context.go(2KB)
----.github()
--------workflows()
----consumer_test.go(3KB)
----options.go(4KB)
----middleware()
--------timeout.go(1KB)
--------middleware.go(155B)
--------logger.go(4KB)
--------recoverer.go(960B)
--------request_id.go(3KB)
----broker_test.go(634B)
----tests()
--------lua()
----errors.go(487B)
----LICENSE(1KB)
----constants.go(555B)
----request_test.go(251B)
----config.go(1KB)
----tracer.go(721B)
----examples()
--------worker()
--------crawler()
--------custom-broker()
--------rpc()
--------main.go(4KB)
--------producer()
--------sentry()
----.gitignore(192B)
----logging()
--------logging.go(3KB)
----Makefile(93B)
----suite_test.go(1KB)
----consumer.go(5KB)
----go.sum(33KB)
----serializer_json.go(366B)
----README.md(12KB)
----queue_test.go(3KB)
----utils.go(3KB)
----scripts()
--------test.sh(190B)
--------lint.sh(366B)
----contrib()
--------rpc()
--------sentry()
----serializer.go(341B)
----broker.go(2KB)
----request.go(727B)
----task.go(9KB)
----go.mod(619B)

网友评论