Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSimulation ¶
func NewSimulation(config SimulationConfig) subt.Simulation
NewSimulation initializes a new Simulation interface using a fake implementation.
Types ¶
type SimulationConfig ¶
type SimulationConfig struct { GroupID simulations.GroupID Status simulations.Status Kind simulations.Kind Error *simulations.Error Image string Track string Token *string Owner *string LaunchedAt *time.Time Robots []simulations.Robot Marsupials []simulations.Robot }
SimulationConfig is used to configure a fake subt simulation.
Click to show internal directories.
Click to hide internal directories.