Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/invlid/palworld-rcon
A golang library for interacting with Palworld RCON servers
https://github.com/invlid/palworld-rcon
library palworld palworld-rcon rcon
Last synced: about 2 months ago
JSON representation
A golang library for interacting with Palworld RCON servers
- Host: GitHub
- URL: https://github.com/invlid/palworld-rcon
- Owner: invliD
- License: mit
- Created: 2024-02-18T07:44:32.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-02-18T18:31:54.000Z (11 months ago)
- Last Synced: 2024-10-14T09:26:01.457Z (3 months ago)
- Topics: library, palworld, palworld-rcon, rcon
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# palworld-rcon
[![GitHub Build](https://github.com/invliD/palworld-rcon/actions/workflows/go.yml/badge.svg?branch=master)](https://github.com/invliD/palworld-rcon/actions)
[![Go Report Card](https://goreportcard.com/badge/github.com/invliD/palworld-rcon)](https://goreportcard.com/report/github.com/invliD/palworld-rcon)
[![Go Reference](https://pkg.go.dev/badge/github.com/invliD/palworld-rcon.svg)](https://pkg.go.dev/github.com/invliD/palworld-rcon)## Install
```shell
go get github.com/invliD/palworld-rcon
```## Usage
```go
package mainimport (
"fmt"
"log"palworldrcon "github.com/invliD/palworld-rcon"
)func main() {
client := palworldrcon.NewClient("127.0.0.1:25575", "password")
defer client.Close()info, err := client.Info()
if err != nil {
log.Fatal(err)
}fmt.Printf("Connected to server '%s' running version %s!\n", info.ServerName, info.Version)
}
```## License
MIT License, see [LICENSE](LICENSE)