rest

package
v0.0.0-...-05ca10f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL