Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.53 KB

File metadata and controls

30 lines (22 loc) · 1.53 KB

storage

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

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) 2026 Rodolfo González González.