Documentation
¶
Index ¶
- func WithBaseContext(ctx context.Context) option
- func WithBoardSize(rows, columns int) option
- func WithClockInterval(interval time.Duration) option
- func WithCloseGracePeriod(duration time.Duration) option
- func WithInitBoard(initBoard *board.Board) option
- func WithInitFn(fn func(point board.Point) bool) option
- func WithListener(listener chan<- *board.Board) option
- type Runner
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithBaseContext ¶
func WithBoardSize ¶
func WithBoardSize(rows, columns int) option
func WithClockInterval ¶
func WithCloseGracePeriod ¶
func WithInitBoard ¶
func WithInitFn ¶
func WithListener ¶
Types ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func (*Runner) AddListener ¶
func (*Runner) ClockInterval ¶
func (*Runner) RemoveListener ¶
Click to show internal directories.
Click to hide internal directories.