Versions in this module Expand all Collapse all v0 v0.1.0 Nov 9, 2022 Changes in this version + const HighestDepthOnly + const IncludeLowerbounds + const IncludeUpperbounds + type Engine struct + func NewEngine(path string, arg ...string) (*Engine, error) + func (eng *Engine) Close() + func (eng *Engine) Go(depth int, searchmoves string, movetime int64, resultOpts ...uint) (*Results, error) + func (eng *Engine) GoDepth(depth int, resultOpts ...uint) (*Results, error) + func (eng *Engine) SendOption(name string, value interface{}) error + func (eng *Engine) SetFEN(fen string) error + func (eng *Engine) SetMoves(moves string) error + func (eng *Engine) SetOptions(opt Options) error + type Options struct + Hash int + MultiPV int + OwnBook bool + Ponder bool + Threads int + type Results struct + BestMove string + Results []ScoreResult + func (r Results) String() string + type ScoreResult struct + BestMoves []string + Depth int + Lowerbound bool + Mate bool + MultiPV int + Nodes int + NodesPerSecond int + Score int + SelDepth int + Time int + Upperbound bool