Skip to content

rgglez/storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages