|
@ -10,7 +10,7 @@ Zinx 是一个基于Golang的轻量级并发服务器框架 |
|
|
--- |
|
|
--- |
|
|
## zinx源码地址 |
|
|
## zinx源码地址 |
|
|
### Github |
|
|
### Github |
|
|
Git: https://github.com/aceld/zinx |
|
|
|
|
|
|
|
|
Git: https://zinx |
|
|
|
|
|
|
|
|
### 码云(Gitee) |
|
|
### 码云(Gitee) |
|
|
Git: https://gitee.com/Aceld/zinx |
|
|
Git: https://gitee.com/Aceld/zinx |
|
@ -68,7 +68,7 @@ Zinx框架的项目制作采用编码和学习教程同步进行,将开发的 |
|
|
|
|
|
|
|
|
```bash |
|
|
```bash |
|
|
# 克隆项目 |
|
|
# 克隆项目 |
|
|
$ git clone https://github.com/aceld/zinx.git |
|
|
|
|
|
|
|
|
$ git clone https://zinx.git |
|
|
|
|
|
|
|
|
# 进入服务端样例目录 |
|
|
# 进入服务端样例目录 |
|
|
$ cd ./zinx/examples/zinx_server |
|
|
$ cd ./zinx/examples/zinx_server |
|
@ -179,8 +179,8 @@ func main() { |
|
|
```go |
|
|
```go |
|
|
import ( |
|
|
import ( |
|
|
"fmt" |
|
|
"fmt" |
|
|
"github.com/aceld/zinx/ziface" |
|
|
|
|
|
"github.com/aceld/zinx/znet" |
|
|
|
|
|
|
|
|
"zinx/ziface" |
|
|
|
|
|
"zinx/znet" |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
//ping test 自定义路由 |
|
|
//ping test 自定义路由 |
|
@ -211,7 +211,7 @@ import ( |
|
|
"io" |
|
|
"io" |
|
|
"net" |
|
|
"net" |
|
|
"time" |
|
|
"time" |
|
|
"github.com/aceld/zinx/znet" |
|
|
|
|
|
|
|
|
"zinx/znet" |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
/* |
|
|
/* |
|
@ -398,7 +398,7 @@ func (c *Connection) RemoveProperty(key string) |
|
|
- 胡琪([@huqitt](https://github.com/huqitt)) |
|
|
- 胡琪([@huqitt](https://github.com/huqitt)) |
|
|
|
|
|
|
|
|
--- |
|
|
--- |
|
|
[zinx(websocket版本)](https://github.com/aceld/zinx/tree/wsserver) |
|
|
|
|
|
|
|
|
[zinx(websocket版本)](https://zinx/tree/wsserver) |
|
|
#### 开发者 |
|
|
#### 开发者 |
|
|
- 胡贵建([@huguijian](https://github.com/huguijian)) |
|
|
- 胡贵建([@huguijian](https://github.com/huguijian)) |
|
|
|
|
|
|
|
@ -407,7 +407,7 @@ func (c *Connection) RemoveProperty(key string) |
|
|
感谢所有为zinx贡献的开发者 |
|
|
感谢所有为zinx贡献的开发者 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://github.com/aceld/zinx/graphs/contributors"> |
|
|
|
|
|
|
|
|
<a href="https://zinx/graphs/contributors"> |
|
|
<img src="https://contrib.rocks/image?repo=aceld/zinx" /> |
|
|
<img src="https://contrib.rocks/image?repo=aceld/zinx" /> |
|
|
</a> |
|
|
</a> |
|
|
|
|
|
|
|
|