Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameNotifier ¶ added in v0.3.21
type MarsClient ¶
type MarsClient interface { GetGame(ctx context.Context, req mars.GetGameRequest) (mars.GetGameResponse, error) WaitingFor(ctx context.Context, req mars.WaitingForRequest) (mars.WaitingForResponse, error) }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(origin http.Handler, storage Storage, mars MarsClient, notifier Notifier, gameNotifier GameNotifier) *Service
func (*Service) PlayerInputHandler ¶
func (s *Service) PlayerInputHandler(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.