functional

package
v0.0.0-...-15b5fa4 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GameServer = domain.NewServer(
	1337,
	true,
	domain.ServerInstalled,
	false,
	"name",
	"759b875e-d910-11eb-aff7-d796d7fcf7ef",
	"759b875e",
	domain.Game{
		StartCode: "cstrike",
	},
	domain.GameMod{
		Name: "public",
	},
	"1.3.3.7",
	1337,
	1338,
	1339,
	"paS$w0rD",
	"server",
	"gameap-user",
	"startCommand",
	"stopCommand",
	"",
	"",
	true,
	time.Now(),
	map[string]string{
		"default_map": "de_dust2",
		"tickrate":    "1000",
	},
	map[string]string{},
	time.Now(),
)

Functions

This section is empty.

Types

type GameServerSuite

type GameServerSuite struct {
	suite.Suite
}

func (*GameServerSuite) GivenServerForGameAndMod

func (suite *GameServerSuite) GivenServerForGameAndMod(game domain.Game, mod domain.GameMod) *domain.Server

func (*GameServerSuite) GivenServerWithStartAndStopCommand

func (suite *GameServerSuite) GivenServerWithStartAndStopCommand(startCommand string, stopCommand string) *domain.Server

func (*GameServerSuite) GivenServerWithStartCommand

func (suite *GameServerSuite) GivenServerWithStartCommand(startCommand string) *domain.Server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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