gcs

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteFromGCS

func DeleteFromGCS(ctx context.Context, client *storage.Client, bucket, objectName string) error

func ExtractTranscript

func ExtractTranscript(resp *speechpb.LongRunningRecognizeResponse) string

func NewSpeechClient

func NewSpeechClient(ctx context.Context, opts common.TranscribeOptions) (*speech.Client, error)

func NewStorageClient

func NewStorageClient(ctx context.Context, opts common.TranscribeOptions) (*storage.Client, error)

func UploadToGCS

func UploadToGCS(ctx context.Context, client *storage.Client, bucket, filename string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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