Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neguse/gomelift
Unofficial GameLift Server SDK in Go.
https://github.com/neguse/gomelift
Last synced: 3 months ago
JSON representation
Unofficial GameLift Server SDK in Go.
- Host: GitHub
- URL: https://github.com/neguse/gomelift
- Owner: neguse
- License: apache-2.0
- Created: 2020-03-13T07:31:59.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-14T16:24:32.000Z (almost 2 years ago)
- Last Synced: 2024-04-03T18:31:50.559Z (10 months ago)
- Language: Go
- Homepage:
- Size: 46.9 KB
- Stars: 11
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-gamelift - GomeLift - Unofficial GameLift Server SDK in Go. (Solutions / Integrations)
README
# GomeLift
## What's this?
Unofficial GameLift Server SDK in Go.
## How to use
Run `go get` command and import to your program.
```
go get -u github.com/neguse/gomeliftimport (
"github.com/neguse/gomelift/pkg/gamelift"
glog "github.com/neguse/gomelift/pkg/log"
"github.com/neguse/gomelift/pkg/proto/pbuffer"
)
```see [example](example/gamelift/server/server.go).
## How to bulid example.
Build and upload gamelift build.
```
On Linux:
cd /path/to/github.com/neguse/gomelift
go build -o example/gamelift/server/server.exe example/gamelift/server/server.go
aws gamelift upload-build --operating-system AMAZON_LINUX_2 --build-root example/gamelift/server --name gomelift --build-version 1 --region ap-northeast-1
```If you are working on Windows or OSX, set GOOS=linux and GOARCH=amd64 before you run `go build` and reset it before `go run`.
## License
Copyright 2020 neguse
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.