Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct{}
func NewHandler ¶
func NewHandler() *Handler
func (*Handler) SolveHandler ¶
func (h *Handler) SolveHandler(w http.ResponseWriter, r *http.Request)
type PuzzleFetcher ¶
type PuzzleFetcher struct {
Difficulty string
}
func NewPuzzleFetcher ¶
func NewPuzzleFetcher() *PuzzleFetcher
func (*PuzzleFetcher) FetchPuzzle ¶
func (f *PuzzleFetcher) FetchPuzzle() (pkg.Grid, error)
func (*PuzzleFetcher) SetDifficulty ¶
func (f *PuzzleFetcher) SetDifficulty(difficulty string)
type SolveResponse ¶
Click to show internal directories.
Click to hide internal directories.