Documentation
¶
Index ¶
- Variables
- type Service
- func (s *Service) DownloadResource(ctx context.Context, objectID string) (*s3.FileData, error)
- func (s *Service) UploadResource(ctx context.Context, input *dto2.UploadResourceInput) (dto2.UploadResourceOutput, error)
- func (s *Service) UploadResources(ctx context.Context, input *dto2.UploadResourcesInput) (dto2.UploadResourcesOutput, error)
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 (*Service) DownloadResource ¶
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)
Click to show internal directories.
Click to hide internal directories.