Versions in this module Expand all Collapse all v4 v4.0.0 Jan 10, 2023 Changes in this version + func NewRobot(name, kind string) simulations.Robot + func NewSimulation(groupID simulations.GroupID, status simulations.Status, kind simulations.Kind, ...) simulations.Simulation + type Service struct + func NewService() *Service + func (s *Service) Create(input simulations.CreateSimulationInput) (simulations.Simulation, error) + func (s *Service) Get(groupID simulations.GroupID) (simulations.Simulation, error) + func (s *Service) GetParent(groupID simulations.GroupID) (simulations.Simulation, error) + func (s *Service) GetRobots(groupID simulations.GroupID) ([]simulations.Robot, error) + func (s *Service) GetWebsocketToken(groupID simulations.GroupID) (string, error) + func (s *Service) MarkCharged(groupID simulations.GroupID) error + func (s *Service) MarkStopped(groupID simulations.GroupID) error + func (s *Service) Reject(groupID simulations.GroupID) (simulations.Simulation, error) + func (s *Service) Update(groupID simulations.GroupID, simulation simulations.Simulation) error + func (s *Service) UpdateScore(groupID simulations.GroupID, score *float64) error + func (s *Service) UpdateStatus(groupID simulations.GroupID, status simulations.Status) error