Skip to content

Instantly share code, notes, and snippets.

View Pheric's full-sized avatar

Eric Graham Pheric

View GitHub Profile
@Pheric
Pheric / bungeeConfParser.go
Created October 26, 2017 00:23
Golang Spigot BungeeCord config file parser
package main
import (
"gopkg.in/yaml.v2"
"log"
)
type BungeeConf struct {
IpForward bool `yaml:"ip_forward"`
NetworkCompressionThreshold int `yaml:"network_compression_threshold"`