resource

package
v0.0.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrResourceNotUploaded = dto3.NewI18nError("resource not uploaded", "errors.resource_not_uploaded")
)

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService(minioClient s3.Client) *Service

func (*Service) DownloadResource

func (s *Service) DownloadResource(ctx context.Context, objectID string) (*s3.FileData, error)

func (*Service) UploadResource

func (s *Service) UploadResource(ctx context.Context, input *dto2.UploadResourceInput) (dto2.UploadResourceOutput, error)

func (*Service) UploadResources

func (s *Service) UploadResources(ctx context.Context, input *dto2.UploadResourcesInput) (dto2.UploadResourcesOutput, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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