https://github.com/dtm-labs/client
the new client for dtm in go, including workflow, dtmcli, and dtmgrpc
https://github.com/dtm-labs/client
Last synced: 3 months ago
JSON representation
the new client for dtm in go, including workflow, dtmcli, and dtmgrpc
- Host: GitHub
- URL: https://github.com/dtm-labs/client
- Owner: dtm-labs
- License: bsd-3-clause
- Created: 2022-07-10T13:14:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-06T07:05:41.000Z (over 2 years ago)
- Last Synced: 2025-04-28T19:14:50.944Z (9 months ago)
- Language: Go
- Homepage: http://d.dtm.pub
- Size: 69.3 KB
- Stars: 17
- Watchers: 8
- Forks: 12
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go Client for DTM
There are there packages:
## workflow
Workflow is a new client for DTM. It support the mixed usage of patterns saga, tcc, xa. And it also support the mixed usage of http, grpc and local transactions.
This pattern offers maximum flexibility and can handle a wide range of scenarios. This pattern is highly recommended for transactions that need to be rolled back
Quick start for workflow using http can be found here: [https://github.com/dtm-labs/quick-start-sample/tree/main/workflow-http](https://github.com/dtm-labs/quick-start-sample/tree/main/workflow-http)
Quick start for workflow using grpc can be found here: [https://github.com/dtm-labs/quick-start-sample/tree/main/workflow-grpc](https://github.com/dtm-labs/quick-start-sample/tree/main/workflow-grpc)
Detailed examples can be found here: [https://github.com/dtm-labs/dtm-examples](https://github.com/dtm-labs/dtm-examples)
## dtmcli
dtmcli is the http client for patterns: saga, tcc, msg, xa
Quick start for dtmcli can be found here: [https://github.com/dtm-labs/quick-start-sample/tree/main/dtmcli-qs](https://github.com/dtm-labs/quick-start-sample/tree/main/dtmcli-qs)
Detailed examples can be found here: [https://github.com/dtm-labs/dtm-examples](https://github.com/dtm-labs/dtm-examples)
## dtmgrpc
dtmcli is the grpc client for patterns: saga, tcc, msg, xa
Quick start for dtmgrpc can be found here: [https://github.com/dtm-labs/quick-start-sample/tree/main/dtmgrpc-qs](https://github.com/dtm-labs/quick-start-sample/tree/main/dtmgrpc-qs)
Detailed examples can be found here: [https://github.com/dtm-labs/dtm-examples](https://github.com/dtm-labs/dtm-examples)