app

package
v0.0.0-...-ae683e3 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 23 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, requestID 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