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
Click to show internal directories.
Click to hide internal directories.