googlevoiceconnector

package module
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoogleTgenerator

type GoogleTgenerator struct {
	*types.UnimplementedTGenerator
	// contains filtered or unexported fields
}

func InitiateGoogleClient

func InitiateGoogleClient(jsonSecret string) *GoogleTgenerator

func (*GoogleTgenerator) SpeechToText

func (g *GoogleTgenerator) SpeechToText(ctx context.Context, audioContent *[]byte, language string) (string, error)

func (*GoogleTgenerator) TextToSpeech added in v0.7.7

func (g *GoogleTgenerator) TextToSpeech(ctx context.Context, outputText, language, voice string) (*[]byte, error)

Jump to

Keyboard shortcuts

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