minio

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMinio

func NewMinio(conf *filemanager.Config) (filemanager.Filemanager, error)

Types

type Minio

type Minio struct {
	// contains filtered or unexported fields
}

func (*Minio) Copy

func (e *Minio) Copy(sourceFileName, destFileName string) error

func (*Minio) Delete

func (e *Minio) Delete(fileName string) error

func (*Minio) Download

func (e *Minio) Download(fileName string) (*filemanager.File, error)

func (*Minio) Get

func (e *Minio) Get(fileName string) (*filemanager.File, error)

func (*Minio) List

func (e *Minio) List() ([]filemanager.File, error)

func (*Minio) Move

func (e *Minio) Move(sourceFileName, destFileName string) error

func (*Minio) Rename

func (e *Minio) Rename(oldName, newName string) error

func (*Minio) Upload

func (e *Minio) Upload(filePath string) (*filemanager.File, error)

Jump to

Keyboard shortcuts

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