translate

package
v0.0.0-...-417428f Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

nolint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Translate

type Translate struct {
	// contains filtered or unexported fields
}

Translate provides access to "translate" component of Yandex.Cloud

func NewTranslate

func NewTranslate(g func(ctx context.Context) (*grpc.ClientConn, error)) *Translate

NewTranslate creates instance of Translate

func (*Translate) Translation

func (t *Translate) Translation() *TranslationServiceClient

Translation gets TranslationService client

type TranslationLanguagesIterator

type TranslationLanguagesIterator struct {
	// contains filtered or unexported fields
}

func (*TranslationLanguagesIterator) Error

func (it *TranslationLanguagesIterator) Error() error

func (*TranslationLanguagesIterator) Next

func (*TranslationLanguagesIterator) Value

type TranslationServiceClient

type TranslationServiceClient struct {
	// contains filtered or unexported fields
}

TranslationServiceClient is a translate.TranslationServiceClient with lazy GRPC connection initialization.

func (*TranslationServiceClient) DetectLanguage

DetectLanguage implements translate.TranslationServiceClient

func (*TranslationServiceClient) ListLanguages

ListLanguages implements translate.TranslationServiceClient

func (*TranslationServiceClient) Translate

Translate implements translate.TranslationServiceClient

func (*TranslationServiceClient) TranslationLanguagesIterator

func (c *TranslationServiceClient) TranslationLanguagesIterator(ctx context.Context, folderId string, opts ...grpc.CallOption) *TranslationLanguagesIterator

Jump to

Keyboard shortcuts

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