Documentation
¶
Overview ¶
Package bucketrepo holds the repository logic associated with the bucket domain.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
Repository is data/repository implementation of service layer TokenRepository
func New ¶
func New(s3Client *s3.S3) *Repository
New is a factory for initializing Token Repositories
func (*Repository) UploadFile ¶
func (r *Repository) UploadFile(ctx context.Context, bucketName, objName string, imageFile multipart.File) (string, error)
UploadFile upload a new file in S3 bucket
Click to show internal directories.
Click to hide internal directories.