oss

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2025 License: MIT Imports: 12 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 {
	PresignedGetObject(ctx context.Context, bucketName, objectName string, expiry time.Duration) (string, error)
	PresignedPutObject(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
	RemoveObject(ctx context.Context, bucketName string, objectName string) 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