README ¶
ChoyKit
A game server foundation kit
一个游戏服务器基础组件
各子包说明
包 | 描述 |
---|---|
pkg/cluster | 多进程 |
pkg/codec | 协议编解码 |
pkg/log | 日志API |
pkg/protocol | 协议相关 |
pkg/qnet | 网络传输 |
pkg/fatchoy | 基础定义包 |
pkg/uuid | 分布式id生成 |
pkg/x | 通用 |
包结构组织
参考goland-standard-project-layout
包名 | 用途 |
---|---|
cmd | 应用程序,但是只是通过main函数调用其它包,不包含具体实现 |
pkg | 开放的业务包和库包 |
internal | 不开放的业务包和库包 |
vendor | 依赖包 |
Directories ¶
Path | Synopsis |
---|---|
pkg
|
|
uuid
This package provides immutable UUID structs and the functions NewV3, NewV4, NewV5 and Parse() for generating versions 3, 4 and 5 UUIDs as specified in RFC 4122.
|
This package provides immutable UUID structs and the functions NewV3, NewV4, NewV5 and Parse() for generating versions 3, 4 and 5 UUIDs as specified in RFC 4122. |
Click to show internal directories.
Click to hide internal directories.