没有合适的资源?快使用搜索试试~ 我知道了~
work:一个紧凑的库,用于跟踪和将更改提交给您的实体
共101个文件
go:55个
example:12个
conf:11个
需积分: 9 0 下载量 83 浏览量
2021-05-24
13:37:16
上传
评论
收藏 136KB ZIP 举报
温馨提示
工作 一个紧凑的库,用于跟踪原子更改并将其提交给您的实体。 它是什么? work可以极大地跟踪应用程序对特定操作中的实体所做的更改。 这是通过使用我们所谓的“工作单元”完成的,该工作单元实质上是Martin Fowler推广的模式的实现。 使用工作单元,您不再需要编写任何代码来跟踪,应用或回滚应用程序中的原子更改。 这样一来,您就可以专注于编写处理更改发生时的代码。 为什么要使用它? 更轻松地管理对实体的更改。 发生混乱时自动回滚更改。 集中保存和回滚功能。 减少了应用更改时的开销。 将触发变更的代码与保留变更的代码分离。 生产就绪的日志和指标。 与您现有的持久层一起使用。 自动和可配置的重试。 对于SQL数据存储,还可以享受: 一笔交易,每单位一个连接。 不管实体更改的数量如何,将持久性操作合并为三个操作。 较短的交易时间。 仅在准备好保存该单元后,才打开事务
资源推荐
资源详情
资源评论
收起资源包目录
work:一个紧凑的库,用于跟踪和将更改提交给您的实体 (101个子文件)
carbon.conf 27KB
carbon.amqp.conf 3KB
dashboard.conf 2KB
aggregation-rules.conf 1KB
storage-aggregation.conf 988B
storage-schemas.conf 885B
relay-rules.conf 873B
graphTemplates.conf 729B
rewrite-rules.conf 558B
whitelist.conf 315B
blacklist.conf 274B
.DS_Store 6KB
.DS_Store 6KB
carbon.conf.example 29KB
carbon.amqp.conf.example 3KB
graphTemplates.conf.example 2KB
dashboard.conf.example 2KB
aggregation-rules.conf.example 2KB
storage-schemas.conf.example 1KB
relay-rules.conf.example 888B
storage-aggregation.conf.example 827B
rewrite-rules.conf.example 558B
blacklist.conf.example 492B
whitelist.conf.example 315B
graphite.wsgi.example 90B
.gitignore 226B
best_effort_unit_test.go 39KB
sql_unit_test.go 30KB
best_effort_unit_test.go 24KB
sql_unit_test.go 23KB
best_effort_unit_test.go 23KB
sql_unit_test.go 22KB
unit_options.go 10KB
alias.go 9KB
best_effort_unit.go 8KB
best_effort_unit.go 8KB
unit_options.go 8KB
best_effort_unit.go 8KB
unit_test.go 7KB
unit.go 7KB
sql_unit.go 6KB
unit.go 6KB
sql_unit.go 5KB
sql_unit.go 5KB
unit.go 4KB
benchmarks_test.go 3KB
metrics_demo.go 3KB
unit_action.go 3KB
unit_action.go 3KB
data_mapper.go 3KB
sql_data_mapper.go 3KB
sql_data_mapper.go 3KB
data_mapper.go 2KB
data_mapper.go 2KB
uniter_test.go 2KB
sql_uniter_test.go 2KB
sql_uniter_test.go 2KB
best_effort_uniter_test.go 2KB
best_effort_uniter_test.go 2KB
work_test.go 1KB
unit_action_context.go 1KB
unit_action_context.go 1KB
sql_uniter.go 1KB
sql_uniter.go 1KB
best_effort_uniter.go 1KB
best_effort_uniter.go 1KB
uniter.go 1KB
type_name.go 957B
type_name.go 957B
type_name.go 957B
data_mapper.go 910B
sql_data_mapper.go 884B
sql_data_mapper.go 884B
data_mapper.go 799B
data_mapper.go 799B
uniter.go 736B
uniter.go 736B
mapper_context.go 670B
work_test.go 670B
work_test.go 670B
unit_options.go 665B
dashboard.json 16KB
Makefile 2KB
README.md 6KB
README.md 5KB
CODE_OF_CONDUCT.md 3KB
CONTRIBUTING.md 2KB
bug_report.md 697B
pull_request_template.md 407B
go.mod 368B
go.mod 265B
go.mod 262B
go.sum 6KB
go.sum 6KB
go.sum 6KB
LICENSE.txt 10KB
LICENSE.txt 10KB
data-sources.yaml 780B
docker-compose.yaml 613B
dashboard-providers.yaml 250B
共 101 条
- 1
- 2
资源评论
潜水小透明
- 粉丝: 34
- 资源: 4508
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功