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
Click to show internal directories.
Click to hide internal directories.