command
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Mar 8, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
MinIO getObject
Get the object from an existing bucket by its name.
Environment
Copy/Rename .env.example to .env
Change the values of the variables to your need in .env file.
Run
Open your terminal in this current path, then run
go run getObject.go
Methods
1- NewMinioClient
- Stablish a connection with MinIO in pkg using the variables from .env file.
2- GetObjectFromMinio
- Get the content of the object from the MinIO bucket by its name.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.