Categorygithub.com/rgglez/storage
repository
0.0.0-20241210075648-4dc6282ccff0
Repository: https://github.com/rgglez/storage.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

storage

License GitHub all releases GitHub issues GitHub commit activity Go Report Card GitHub release

This Go module encapsulates the go-storage library, which makes transparent the storage and retrieval of files to and from a number of both cloud services and local supports. A full list of supported backends can be found in the go-storage README.

It provides 2 functions, one for writing and one for reading. It takes care of the boilerplate.

You need to provide the constructor NewStorage(cnn string) a connection string in the go-storage format:

cnn := "oss://bucket/?credential=env&endpoint=http://127.0.0.1:9090&name=bucket"

License

Apache-2.0. Please read the LICENSE file.

Copyright (c) 2024 Rodolfo González González.