modes

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModeStrategy

type ModeStrategy interface {
	GetTarget() string
	GetInitialTime() int
}

type QuoteMode

type QuoteMode struct {
	Language database.Language
	Category database.Category
}

func (QuoteMode) GetInitialTime

func (q QuoteMode) GetInitialTime() int

func (QuoteMode) GetTarget

func (q QuoteMode) GetTarget() string

type StaticMode

type StaticMode struct {
	Target string
}

func (StaticMode) GetInitialTime

func (s StaticMode) GetInitialTime() int

func (StaticMode) GetTarget

func (s StaticMode) GetTarget() string

type TimeMode

type TimeMode struct {
	Duration int
}

func (TimeMode) GetInitialTime

func (m TimeMode) GetInitialTime() int

func (TimeMode) GetTarget

func (m TimeMode) GetTarget() string

type WordMode

type WordMode struct {
	InitialWords int
}

func (WordMode) GetInitialTime

func (w WordMode) GetInitialTime() int

func (WordMode) GetTarget

func (w WordMode) GetTarget() string

Jump to

Keyboard shortcuts

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