app

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRoutes

func InitRoutes(config configs.Config) *mux.Router

InitRoutes to start up a mux router and return the routes

func QueryRuleSet

func QueryRuleSet(es elastic.Client, index string) (*models.DeclensionConfig, error)

Types

type DionysosHandler

type DionysosHandler struct {
	Config *configs.Config
}

func (*DionysosHandler) StartFindingRules

func (d *DionysosHandler) StartFindingRules(word, uuid string) (*models.DeclensionTranslationResults, error)

StartFindingRules initiates the process of finding declension rules and translations for a given word. It returns the declension translation results.

Jump to

Keyboard shortcuts

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