Please note this will only work with GBA version v1.5.0 or greater.
Create a client
import "github.com/GameBench/gba-client-go"
func main() {
config := &gba.Config{BaseUrl: "http://localhost:8000"}
client := gba.New(config)
}
Alternatively, use env vars for configuration
GBA_BASE_URL=
List devices
client.listDevices()