controller

package
v0.0.0-...-9eaf9d2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TatoebaHandler

type TatoebaHandler interface {
	FindSentencePairs(c *gin.Context)
	ImportSentences(c *gin.Context)
	ImportLinks(c *gin.Context)
}

func NewTatoebaHandler

func NewTatoebaHandler(tatoebaClient service.TatoebaClient) TatoebaHandler

type TranslationHandler

type TranslationHandler interface {
	FindTranslations(c *gin.Context)
	FindTranslationByTextAndPos(c *gin.Context)
	FindTranslationsByText(c *gin.Context)
	AddTranslation(c *gin.Context)
	UpdateTranslation(c *gin.Context)
	RemoveTranslation(c *gin.Context)
	ExportTranslations(c *gin.Context)
}

func NewTranslationHandler

func NewTranslationHandler(translatorClient service.TranslatorClient) TranslationHandler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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