README

triebwerk

triebwerk is a simple multiplayer game server written in Golang.

Warning: Very experimental!

Build and run triebwerk with docker: docker-compose up

Run triebwerk standalone: cp .env.dist .env (and change env values) make run

Build triebwerk: make build-static

Run tests: make test

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	PublicIP         string `envconfig:"PUBLIC_IP" required:"false" default:"localhost"`
	MasterServerGRPC string `envconfig:"MASTERSERVER_GRPC" required:"false" default:"localhost:8081"`
	Region           string `envconfig:"REGION" required:"true" default:"EU"`
	Port             int    `envconfig:"PORT" required:"false" default:"80"`
}

Config from Environment Vars

type Firebase

type Firebase struct {
	App   *firebase.App
	Store *firestore.Client
}

Firebase ...

Source Files

Directories

Path Synopsis
cmd