Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Lynnworld authored May 22, 2022
1 parent faf9c2b commit 31c1989
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ this is a helper function for you can transport grpc request over kcp

"kcp is a lightweight and fast network protocol, it is used for high performance communication between two endpoints."

for more details, please visit:

1. https://github.com/skywind3000/kcp
2. https://github.com/xtaci/kcp-go
3. https://github.com/xtaci/kcptun


how to use
Expand All @@ -26,4 +21,12 @@ address := "localhost:8080"
cfg := &kcp.Config{}
cc, err := grpc.Dial(address, grpc.WithTransportCredentials(insecure.NewCredentials()), kcp.Dialer(cfg))
```
```
you can view example for grpc server / client demo , it use both TCP/KCP for grpc serving


for more details, please visit:

1. https://github.com/skywind3000/kcp
2. https://github.com/xtaci/kcp-go
3. https://github.com/xtaci/kcptun

0 comments on commit 31c1989

Please sign in to comment.