Skip to content

Commit c0de65a

Browse files
committed
update README.md
1 parent c1c5082 commit c0de65a

File tree

1 file changed

+25
-10
lines changed

1 file changed

+25
-10
lines changed

README.md

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# due 一站式分布式游戏服务器解决方案
1+
# due 基于Go语言开发的高性能分布式游戏服务器框架
22

33
[![Build Status](https://github.com/dobyte/due/workflows/Go/badge.svg)](https://github.com/dobyte/due/actions)
44
[![goproxy](https://goproxy.cn/stats/github.com/dobyte/due/v2/badges/download-count.svg)](https://goproxy.cn/stats/github.com/dobyte/due/badges/download-count.svg)
@@ -10,8 +10,9 @@
1010

1111
### 1.介绍
1212

13-
due是一款基于Go语言开发的轻量级分布式游戏服务器框架
13+
due是一款基于Go语言开发的轻量级、高性能分布式游戏服务器框架
1414
其中,模块设计方面借鉴了[kratos](https://github.com/go-kratos/kratos)的模块设计思路,旨在为游戏服务器开发提供完善、高效、标准化的解决方案。
15+
框架自创建至今已在多个企业级游戏项目中上线实践过,稳定性有充分的保障。
1516

1617
![架构图](architecture.jpg)
1718

@@ -372,7 +373,7 @@ func greetHandler(ctx node.Context) {
372373
log.Info(req.Message)
373374

374375
res.Code = codes.OK.Code()
375-
res.Message = fmt.Sprintf("I'm server, and the current time is: %s", xtime.Now().Format(xtime.DatetimeLayout))
376+
res.Message = fmt.Sprintf("I'm server, and the current time is: %s", xtime.Now().Format(xtime.DateTime))
376377
}
377378
```
378379

@@ -489,7 +490,7 @@ func doPushMessage(conn *client.Conn) {
489490
err := conn.Push(&cluster.Message{
490491
Route: 1,
491492
Data: &greetReq{
492-
Message: fmt.Sprintf("I'm client, and the current time is: %s", xtime.Now().Format(xtime.DatetimeLayout)),
493+
Message: fmt.Sprintf("I'm client, and the current time is: %s", xtime.Now().Format(xtime.DateTime)),
493494
},
494495
})
495496
if err != nil {
@@ -667,16 +668,30 @@ throughput (TPS) : 128969
667668
9. 缓存组件
668669
* redis: github.com/dobyte/due/cache/redis/v2
669670

670-
### 14.详细示例
671-
672-
更多详细示例请点击[due-examples](https://github.com/dobyte/due-examples)
673-
674-
### 15.其他客户端
671+
### 14.其他客户端
675672

676673
* [due-client-ts](https://github.com/dobyte/due-client-ts)
677674
* [due-client-shape](https://github.com/dobyte/due-client-shape)
678675

679-
### 16.交流与讨论
676+
### 15.详细示例
677+
678+
- [due-examples](https://github.com/dobyte/due-examples)
679+
- [due-chat](https://github.com/dobyte/due-chat)
680+
681+
### 16.三方示例
682+
683+
<ul>
684+
<li style="line-height:30px;padding: 5px 0;">
685+
<a style="line-height: 30px;float: left;" href="https://github.com/Zekiee"><img alt="Zekiee" src="https://avatars.githubusercontent.com/u/69623693?v=4" style="width:30px;height:30px;display:block;border-radius:50%;"></a>
686+
<a style="line-height: 30px;float: left;margin-left: 10px;" href="https://github.com/Zekiee/due-game-example">due-game-example</a>
687+
</li>
688+
<li style="line-height:30px;padding: 5px 0;">
689+
<a style="line-height: 30px;float: left;" href="https://github.com/lingfan"><img alt="lingfan" src="https://avatars.githubusercontent.com/u/455872?v=4" style="width:30px;height:30px;display:block;border-radius:50%;"></a>
690+
<a style="line-height: 30px;float: left;margin-left: 10px;" href="https://github.com/lingfan/due-v2-example">due-v2-example</a>
691+
</li>
692+
</ul>
693+
694+
### 17.交流与讨论
680695

681696
<img title="" src="group_qrcode.jpeg" alt="交流群" width="175"><img title="" src="personal_qrcode.jpeg" alt="个人二维码" width="177">
682697

0 commit comments

Comments
 (0)