Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MarsClient ¶
type MarsClient interface { CreateGame(ctx context.Context, game mars.CreateGameRequest) (mars.CreateGameResponse, error) GetPlayerUrl(playerId string) string WaitingFor(ctx context.Context, req mars.WaitingForRequest) (mars.WaitingForResponse, error) }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(storage Storage, mars MarsClient) *Service
func (*Service) CreateGame ¶
Click to show internal directories.
Click to hide internal directories.