storage

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureMinio

func ConfigureMinio(ctx context.Context, diskConfig string) *minioHelper

Types

type StorageHelper

type StorageHelper interface {
	Upload(file filesystem.File, dirpath, filename string) error
	Move(srcPath string, destPath string) error
	Copy(srcPath string, destPath string) error
	Delete(filepath string) error
	Securelink(filepath string) (string, error)
	SecurelinkFolder(dirpath string) (string, error)
}

func Disk

func Disk(ctx context.Context, diskConfig string) StorageHelper

Jump to

Keyboard shortcuts

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