triebwerk

package module
v0.0.0-...-2525d98 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2020 License: MIT Imports: 2 Imported by: 0

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 ...

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL