repository

package
v0.0.0-...-f48895e Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleansePath

func CleansePath(s string) string

Types

type ObjectStorage

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

func NewObjectStorage

func NewObjectStorage(s3cli *s3.Client, bucketName string) ObjectStorage

func (ObjectStorage) GetObjectToTmp

func (s ObjectStorage) GetObjectToTmp(ctx context.Context, key string) (string, error)

func (ObjectStorage) UploadObject

func (s ObjectStorage) UploadObject(ctx context.Context, key string, b []byte) error

Jump to

Keyboard shortcuts

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