minioGetPresignedURL

command
v0.0.0-...-a4df33b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

README

MinIO getPresignedURL

Get getPresignedURL of the object from an existing bucket.

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 getPresignedURL.go

Methods

1- NewMinioClient

  • Stablish a connection with MinIO in pkg using the variables from .env file.

2- GetPresignedURLForObject

  • Get Get signed url for the object

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL