Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rgglez/storage
go-storage wrapper
https://github.com/rgglez/storage
buckets cloud go go-storage golang storage
Last synced: about 1 month ago
JSON representation
go-storage wrapper
- Host: GitHub
- URL: https://github.com/rgglez/storage
- Owner: rgglez
- License: apache-2.0
- Created: 2024-07-01T21:20:15.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-25T22:18:31.000Z (about 1 month ago)
- Last Synced: 2024-11-25T23:24:22.860Z (about 1 month ago)
- Topics: buckets, cloud, go, go-storage, golang, storage
- Language: Go
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# storage
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
![GitHub all releases](https://img.shields.io/github/downloads/rgglez/storage/total)
![GitHub issues](https://img.shields.io/github/issues/rgglez/storage)
![GitHub commit activity](https://img.shields.io/github/commit-activity/y/rgglez/storage)
[![Go Report Card](https://goreportcard.com/badge/github.com/rgglez/storage)](https://goreportcard.com/report/github.com/rgglez/storage)
[![GitHub release](https://img.shields.io/github/release/rgglez/storage.svg)](https://github.com/rgglez/storage/releases/)This Go module encapsulates the [go-storage](https://github.com/rgglez/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](https://github.com/rgglez/go-storage/blob/master/README.md).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:```go
cnn := "oss://bucket/?credential=env&endpoint=http://127.0.0.1:9090&name=bucket"
```## License
Apache-2.0. Please read the [LICENSE](LICENSE) file.
Copyright (c) 2024 Rodolfo González González.