coordinator

package
v3.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const SelectByPing = "ping"

Variables

This section is empty.

Functions

This section is empty.

Types

type Analytics

type Analytics struct {
	Inject bool
	Gtag   string
}

Analytics is optional Google Analytics

type Config

type Config struct {
	Coordinator Coordinator
	Emulator    emulator.Emulator
	Recording   shared.Recording
	Version     shared.Version
	Webrtc      webrtc.Webrtc
}

func NewConfig

func NewConfig() (conf Config)

func (*Config) ParseFlags

func (c *Config) ParseFlags()

type Coordinator

type Coordinator struct {
	Analytics  Analytics
	Debug      bool
	Library    games.Config
	Monitoring monitoring.Config
	Origin     struct {
		UserWs   string
		WorkerWs string
	}
	Selector string
	Server   shared.Server
}

Jump to

Keyboard shortcuts

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