Skip to content

Commit 2a1a8ab

Browse files
authored
update version and readme (#28)
1 parent dc7503a commit 2a1a8ab

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ gogs is a simple, fast and lightweight game server framework written in golang.
2424
- [ ] Support Remote call
2525
- [ ] Support tracing
2626
- [x] Support gogs generate docker file
27-
- [ ] Support gogs generate k8s yaml
27+
- [x] Support gogs generate k8s yaml
2828
- [ ] Support custom game packet protocol
2929
- [ ] Support kubegame controller, create game pod with api
3030
- [ ] Add more examples
@@ -41,7 +41,7 @@ gogs is a simple, fast and lightweight game server framework written in golang.
4141
### Init your project
4242
install the gogs
4343
```
44-
go install github.com/metagogs/gogs/tools/[email protected].0
44+
go install github.com/metagogs/gogs/tools/[email protected].2
4545
```
4646
init project
4747
```
@@ -92,6 +92,16 @@ this will generate a unity code, you can use it to test your game server. And yo
9292
-g generate unity c# gogs library, you should use it when you generate code first time
9393
```
9494

95+
### Deployment
96+
```
97+
gogo docker // generate Dockerfile
98+
99+
go run main --deployment // generate k8s yaml
100+
--svc use service to expose your game server not hostport
101+
--name your game server name
102+
--namepsace your k8s namespace
103+
```
104+
95105
## How to encode/decode the message
96106
### Packet Protocol
97107
gogs uses 8 bytes as the protocol header

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.1.1
1+
v0.1.2

0 commit comments

Comments
 (0)