upload

package
v0.0.0-...-f84185f Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceUploadImpl

type ServiceUploadImpl struct {
	Client storage.Client
}

ServiceUploadImpl represents upload service implementations

func NewServiceUpload

func NewServiceUpload(ctx context.Context) *ServiceUploadImpl

NewServiceUpload returns new instance of upload service

func (*ServiceUploadImpl) UploadMedia

func (u *ServiceUploadImpl) UploadMedia(ctx context.Context, name string, file io.Reader) (string, error)

UploadMedia uploads media to GCS

Jump to

Keyboard shortcuts

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