types

package
v0.0.0-...-1d800d4 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowedLanguages = []SpellCheckLanguage{
	"en",
	"bg",
	"de",
	"es",
	"fr",
	"pt_BR",
	"pt_PT",
}

Functions

This section is empty.

Types

type Misspelling

type Misspelling struct {
	Index       int      `json:"index"`
	Suggestions []string `json:"suggestions"`
}

type Options

type Options struct {
	LRUSize int `json:"lru_size"`
}

func (*Options) FillFromEnv

func (o *Options) FillFromEnv()

func (*Options) Validate

func (o *Options) Validate() error

type SpellCheckLanguage

type SpellCheckLanguage string

func (SpellCheckLanguage) Validate

func (l SpellCheckLanguage) Validate() error

Jump to

Keyboard shortcuts

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