Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidNumberFormat = errors.New("the provided number format is not valid") ErrProcessingFailed = errors.New("failed processing the request") )
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(t *ticTacToe.Service) *Controller
func (*Controller) DoMove ¶
func (c *Controller) DoMove() http.HandlerFunc
func (*Controller) GetCurrentPlayer ¶
func (c *Controller) GetCurrentPlayer() http.HandlerFunc
func (*Controller) GetFullBoard ¶
func (c *Controller) GetFullBoard() http.HandlerFunc
func (*Controller) GetWinner ¶
func (c *Controller) GetWinner() http.HandlerFunc
Click to show internal directories.
Click to hide internal directories.