Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRouter ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(useCase *game.UseCase, validator validator.ProjectValidator) *Controller
func (*Controller) CreateGame ¶
func (c *Controller) CreateGame(w http.ResponseWriter, r *http.Request)
func (*Controller) GetCurrentGame ¶
func (c *Controller) GetCurrentGame(w http.ResponseWriter, r *http.Request)
func (*Controller) Guess ¶
func (c *Controller) Guess(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.