gameservercommands

package
v0.0.0-...-3b1d31a Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnknownResult = int(domain.UnknownResult)
	SuccessResult = int(domain.SuccessResult)
	ErrorResult   = int(domain.ErrorResult)
)

Variables

View Source
var ErrDefinedNoGameInstallationRulesError = errors.New("could not determine the rules for installing the game")

Functions

This section is empty.

Types

type LoadServerCommandFunc

type LoadServerCommandFunc func(cmd domain.ServerCommand, server *domain.Server) contracts.GameServerCommand

type ServerCommandFactory

type ServerCommandFactory struct {
	// contains filtered or unexported fields
}

func NewFactory

func NewFactory(
	cfg *config.Config,
	serverRepo domain.ServerRepository,
	executor contracts.Executor,
	processManager contracts.ProcessManager,
) *ServerCommandFactory

func (*ServerCommandFactory) LoadServerCommand

func (factory *ServerCommandFactory) LoadServerCommand(
	cmd domain.ServerCommand,
	server *domain.Server,
) contracts.GameServerCommand

Jump to

Keyboard shortcuts

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