oss

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjectStorageService

type ObjectStorageService interface {
	GetPresignedUrl(ctx context.Context, bucketName, objectName string) (string, error)
	GetObject(ctx context.Context, bucketName, objectName string) (string, error)
	PutObject(ctx context.Context, bucketName, objectName, filePath string) error
	ObjectExists(ctx context.Context, bucketName, objectName string) error
	HealthCheck() error
}

func NewDigitalOceanWithMinio

func NewDigitalOceanWithMinio(cfg *config.Configuration) ObjectStorageService

Jump to

Keyboard shortcuts

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