This commit is contained in:
kercylan98 2023-05-29 20:24:01 +08:00
parent 18b89fee2d
commit 532179ba44
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
# Minotaur
[![Go doc](https://img.shields.io/badge/go.dev-reference-brightgreen?logo=go&logoColor=white&style=flat)](https://pkg.go.dev/github.com/kercylan98/minotaur)
![](https://img.shields.io/badge/Email-kercylan@gmail.com-green.svg?style=flat)
Minotaur 是一个基于Golang 1.20 编写的服务端开发支持库,其中采用了大量泛型设计,用于游戏服务器开发。
@ -38,6 +39,7 @@ $ go get -u github.com/kercylan98/minotaur
## 用法
- 在`Minotaur`中大量使用了 **[泛型](https://go.dev/doc/tutorial/generics)** 、 **[观察者(事件)](https://www.runoob.com/design-pattern/observer-pattern.html)** 和 **[选项模式](https://juejin.cn/post/6844903729313873927)**,在使用前建议先进行相应了解;
- 更多的 **[示例](./examples)** 参考可在 [examples](./examples) 目录查阅;
- 项目文档可访问 **[pkg.go.dev](https://pkg.go.dev/github.com/kercylan98/minotaur)** 进行查阅;
### 简单示例
创建一个基于Websocket的回响服务器。