没有合适的资源?快使用搜索试试~ 我知道了~
goalpost:一个持久的、可嵌入的、用于 golang 的工作队列
共11个文件
go:5个
sum:1个
yml:1个
需积分: 9 0 下载量 154 浏览量
2021-05-30
15:02:56
上传
评论
收藏 11KB ZIP 举报
温馨提示
门柱 Goalpost 是一个持久的、可嵌入的、用于 Golang 的工作队列 它利用 boltdb/bbolt 来提供持久性,因此当进程被终止时消息不会丢失。 快速开始 以下是球门柱的简单使用: package main import ( "context" "fmt" "time" ) import "github.com/chiefnoah/goalpost" const eventQueueID = "event-queue" //Define a type that implements the goalpost.Worker interface type worker struct { id string } func ( w * worker ) ID () string { return w . id } func ( w * worker ) DoWork
资源推荐
资源详情
资源评论
收起资源包目录
goalpost-master.zip (11个子文件)
goalpost-master
go.mod 185B
go.sum 2KB
job.go 2KB
queue.go 9KB
examples
basic.go 1KB
LICENSE 1KB
README.md 2KB
queue_test.go 7KB
.drone.yml 242B
worker.go 401B
.gitignore 203B
共 11 条
- 1
资源评论
租租车国内租车
- 粉丝: 19
- 资源: 4599
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 驱动代码驱动代码驱动代码驱动代码
- SVID_20240523_141155_1.mp4
- Code for the complete guide to tkinter tutorial
- 关于百货中心供应链管理系统.zip
- SimpleFolderIcon-master 修改Unity的Project下的文件夹图标
- A python Tkinter widget to display tile based maps
- A pure Python library for adding tables to a Tkinter application
- Vector资源文件.zip
- MobaXterm-Installer
- 88-520告白(520气球).zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功