a netty like asynchronous network I/O library based on tcp/udp/websocket; a bidirectional RPC framework based on JSON/Protobuf; a microservice framework based on zookeeper/etcd
Apache License 2.0
218
stars
69
forks
source link
refactor: Supports mock testing of the getty.Session interface outside of the getty package. #101
What this PR does:
Modify all the methods defined in getty.Connection to be exported with uppercase names.
Which issue(s) this PR fixes:
Fixes #100
Special notes for your reviewer:
I verified it using go workspace, and the gomock test worked well in seata-go.
Does this PR introduce a user-facing change?:
The methods involved are all used in getty's internal processes, and nothing has changed in terms of user usage.
What this PR does: Modify all the methods defined in getty.Connection to be exported with uppercase names.
Which issue(s) this PR fixes: Fixes #100
Special notes for your reviewer: I verified it using go workspace, and the gomock test worked well in seata-go.
Does this PR introduce a user-facing change?: The methods involved are all used in getty's internal processes, and nothing has changed in terms of user usage.