infra

package
v0.0.0-...-72a7257 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudStorageBucket

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

func NewCloudStoreBucketClient

func NewCloudStoreBucketClient(ctx context.Context, projectId string, videoFilesBucketUrl string) *CloudStorageBucket

func (*CloudStorageBucket) Save

func (b *CloudStorageBucket) Save(ctx context.Context, fromReader io.Reader) (string, error)

type Downloader

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

func NewDownloader

func NewDownloader(path string, base64cookies string) *Downloader

func (*Downloader) DownloadFromUrl

func (d *Downloader) DownloadFromUrl(ctx context.Context, url string, w io.Writer) error

type PubSubTopic

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

func NewPubSubTopicClient

func NewPubSubTopicClient(ctx context.Context, projectId string, servicename string, videoSavedTopicId string) *PubSubTopic

func (*PubSubTopic) PublishSuccess

func (t *PubSubTopic) PublishSuccess(ctx context.Context, savedVideoAddr string, originalUrl string) error

Jump to

Keyboard shortcuts

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