Skip to content

Instantly share code, notes, and snippets.

View Pheric's full-sized avatar

Eric Graham Pheric

View GitHub Profile
package imgbbapi
import (
"encoding/base64"
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
"net/url"
)

Keybase proof

I hereby claim:

  • I am pheric on github.
  • I am photon0f (https://keybase.io/photon0f) on keybase.
  • I have a public key ASAUGsHWitMyRMMv3TaHR9bricph92xE9-W8RN_j2P2SAAo

To claim this, I am signing this object:

@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"`