files

package
v0.0.0-...-03ce9ab Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: GPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MinioClient *minio.Client

Functions

func DownloadFile

func DownloadFile(rawURL string, blob string, id uint) (uint, error)

DownloadFile Downloads file from a given URL, stores it in a Minio object. This function also calls the Static Analysis function

func GetFile

func GetFile(uuid string) (*minio.Object, error)

GetFile returns a pointer to a File stored in Minio by passing it the UUID ("Blob"-ID) of the file

func MinioConnect

func MinioConnect()

func MinioSetup

func MinioSetup()

func UploadFile

func UploadFile(file *multipart.FileHeader, name string, url string, comment string) (uint, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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