objectstorages

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjectStorage

type ObjectStorage struct {
	Connection string
	Host       string
	Port       string
	Username   string
	Password   string
	SSL        bool
}

func (*ObjectStorage) Minio

func (objectStorage *ObjectStorage) Minio() (*ObjectStorageConnection, error)

func (*ObjectStorage) SeaweedFS

func (objectStorage *ObjectStorage) SeaweedFS() (*ObjectStorageConnection, error)

type ObjectStorageConnection

type ObjectStorageConnection struct {
	Minio     *minio.Client
	SeaweedFS *gopackage.SeaweedFSData
}

func New

func New(objectStorage *ObjectStorage) (*ObjectStorageConnection, error)

Jump to

Keyboard shortcuts

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