Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
3 years ago | |
---|---|---|
.github | 3 years ago | |
cmd | 3 years ago | |
dist | 4 years ago | |
docs | 3 years ago | |
pkg | 3 years ago | |
scripts/server | 3 years ago | |
.editorconfig | 4 years ago | |
.gitignore | 4 years ago | |
.gitmodules | 3 years ago | |
.golangci.yml | 4 years ago | |
.reviewdog.yml | 3 years ago | |
LICENSE | 5 years ago | |
Makefile | 4 years ago | |
README.md | 3 years ago | |
go.mod | 4 years ago | |
go.sum | 4 years ago |
seata-golang is a distributed transaction middleware based on Golang.
feature | seata | seata-golang | remark |
---|---|---|---|
AT mode | √ | √ | |
TCC mode | √ | √ | |
SAGA mode | √ | × | |
rpc | √ | √ | dev branch |
grpc | × | √ | v2 branch |
A typical lifecycle of Seata managed distributed transaction:
cd ${projectpath}/cmd/tc
go build -o tc_server
# create database `seata` for TC server
# update storage.dsn.mysql in ${projectpath}/cmd/profiles/dev/config.yml
./tc_server start -config ${projectpath}/cmd/profiles/dev/config.yml
Please refer to demo seata-go-samples
The seata-golang AT and TCC design are actually the same as seata.
Please refer to what-is-seata for more details.
Please contact us via DingTalk app if you have any issues. The chat group ID is 33069364.
Welcome to raise up issue or pull-request to seata-golang!
To contribute, fork from opentrx/seata-golang and push branch to your repo, then open a pull-request.
seata-golang software is licenced under the Apache License Version 2.0. See the LICENSE file for details.
Go Implementation For Seata
Go Text Markdown Protocol Buffer Shell other