Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetMaxConnections ¶
func SetMaxConnections(maxConcurrent int)
SetMaxConnections sets the maximum number of concurrent connections for Google Translate API. Specify -1 to disable the connection limit.
func Translate ¶
Translate translates the given text from the source language to the target language using Google Translate API.
func TranslateApiV1 ¶
TranslateApiV1 translates the given text from the source language to the target language using the translate.googleapis.com endpoint
func TranslateApiV2 ¶
TranslateApiV2 translates the given text from the source language to the target language using translate.google.com/m endpoint.
func TranslateApiV3 ¶
TranslateApiV3 translates the given text from the source language to the target language using clients5.google.com/translate_a/t endpoint.
Types ¶
This section is empty.