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
Click to show internal directories.
Click to hide internal directories.