Versions in this module Expand all Collapse all v0 v0.0.3 Mar 28, 2023 v0.0.2 Sep 9, 2022 Changes in this version + func GetSwagger() (swagger *openapi3.T, err error) + func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error) + func RegisterHandlers(router EchoRouter, si ServerInterface) + func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string) + type Board struct + O CheckerLayout + X CheckerLayout + type CheckerLayout struct + Bar *int + N1 *int + N10 *int + N11 *int + N12 *int + N13 *int + N14 *int + N15 *int + N16 *int + N17 *int + N18 *int + N19 *int + N2 *int + N20 *int + N21 *int + N22 *int + N23 *int + N24 *int + N3 *int + N4 *int + N5 *int + N6 *int + N7 *int + N8 *int + N9 *int + type CheckerPlay struct + From CheckerPlayFrom + To CheckerPlayTo + type CheckerPlayFrom string + const CheckerPlayFromBar + const CheckerPlayFromN1 + const CheckerPlayFromN10 + const CheckerPlayFromN11 + const CheckerPlayFromN12 + const CheckerPlayFromN13 + const CheckerPlayFromN14 + const CheckerPlayFromN15 + const CheckerPlayFromN16 + const CheckerPlayFromN17 + const CheckerPlayFromN18 + const CheckerPlayFromN19 + const CheckerPlayFromN2 + const CheckerPlayFromN20 + const CheckerPlayFromN21 + const CheckerPlayFromN22 + const CheckerPlayFromN23 + const CheckerPlayFromN24 + const CheckerPlayFromN3 + const CheckerPlayFromN4 + const CheckerPlayFromN5 + const CheckerPlayFromN6 + const CheckerPlayFromN7 + const CheckerPlayFromN8 + const CheckerPlayFromN9 + type CheckerPlayTo string + const CheckerPlayToN1 + const CheckerPlayToN10 + const CheckerPlayToN11 + const CheckerPlayToN12 + const CheckerPlayToN13 + const CheckerPlayToN14 + const CheckerPlayToN15 + const CheckerPlayToN16 + const CheckerPlayToN17 + const CheckerPlayToN18 + const CheckerPlayToN19 + const CheckerPlayToN2 + const CheckerPlayToN20 + const CheckerPlayToN21 + const CheckerPlayToN22 + const CheckerPlayToN23 + const CheckerPlayToN24 + const CheckerPlayToN3 + const CheckerPlayToN4 + const CheckerPlayToN5 + const CheckerPlayToN6 + const CheckerPlayToN7 + const CheckerPlayToN8 + const CheckerPlayToN9 + const CheckerPlayToOff + type EchoRouter interface + CONNECT func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + DELETE func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + GET func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + HEAD func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + OPTIONS func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + PATCH func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + POST func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + PUT func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + TRACE func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + type EvalInfo struct + Cubeful bool + Plies int + type Evaluation struct + Diff float32 + Eq float32 + Info *EvalInfo + Probability *Probability + type Move struct + Evaluation *Evaluation + Play *[]CheckerPlay + type MoveArgs struct + Board Board + Cubeful *bool + Dice []int + MaxMoves *int + Player MoveArgsPlayer + ScoreMoves *bool + type MoveArgsPlayer string + const MoveArgsPlayerO + const MoveArgsPlayerX + type PostGetmovesJSONBody MoveArgs + type PostGetmovesJSONRequestBody PostGetmovesJSONBody + type Probability struct + Lose float32 + LoseBG float32 + LoseG float32 + Win float32 + WinBG float32 + WinG float32 + type ServerInterface interface + PostGetmoves func(ctx echo.Context) error + type ServerInterfaceWrapper struct + Handler ServerInterface + func (w *ServerInterfaceWrapper) PostGetmoves(ctx echo.Context) error