Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of the S3 Store #11

Open
xis opened this issue Feb 24, 2021 · 1 comment
Open

Implementation of the S3 Store #11

xis opened this issue Feb 24, 2021 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@xis
Copy link
Owner

xis commented Feb 24, 2021

We can create a S3Store (or another name) like FileSystemStore in the saver.go file.

like,

package baraka

type S3Store struct {
    // specific settings
}

func NewS3Store(/* specific settings */) S3Store {
    return S3Store{
        // specific settings
    }
}

func (s S3Store) Save(path string, filename string, part *Part) error {
    // specific things to upload part's bytes to the s3
}

so, we can easily upload the files to the s3 with this implementation.

@xis xis added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Feb 24, 2021
@silaselisha
Copy link

silaselisha commented Mar 20, 2024

I would like to work on this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants