Documentation ¶
Index ¶
Constants ¶
View Source
const (
TRANSLATE_PROCESSOR_GOOGLE = "google"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TranslateProcessor ¶
func NewGoogleTranslateProcessor ¶
func NewGoogleTranslateProcessor(factory *TranslateProcessorFactoryImpl) (TranslateProcessor, error)
type TranslateProcessorFactory ¶
type TranslateProcessorFactory interface { SourceLanguage(sourceLanguage string) TranslateProcessorFactory TargetLanguage(targetLanguage string) TranslateProcessorFactory New() (TranslateProcessor, error) }
func NewTranslateProcessorFactory ¶
func NewTranslateProcessorFactory() TranslateProcessorFactory
type TranslateProcessorFactoryImpl ¶
type TranslateProcessorFactoryImpl struct {
// contains filtered or unexported fields
}
func (*TranslateProcessorFactoryImpl) New ¶
func (tpf *TranslateProcessorFactoryImpl) New() (TranslateProcessor, error)
func (*TranslateProcessorFactoryImpl) SourceLanguage ¶
func (tpf *TranslateProcessorFactoryImpl) SourceLanguage(sourceLanguage string) TranslateProcessorFactory
func (*TranslateProcessorFactoryImpl) TargetLanguage ¶
func (tpf *TranslateProcessorFactoryImpl) TargetLanguage(targetLanguage string) TranslateProcessorFactory
type TranslateProcessorType ¶
type TranslateProcessorType string
Click to show internal directories.
Click to hide internal directories.