lS3

package module
v0.0.0-...-7334535 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(cfg *Config) *s3.S3

func PreSignUrl

func PreSignUrl(s *s3.S3, bucket, key string, expires time.Duration) (string, error)

Types

type Config

type Config struct {
	Endpoint  string
	Region    string
	AccessKey string
	SecretKey string
	EnableSSL bool
}

func (*Config) Must

func (c *Config) Must()

Jump to

Keyboard shortcuts

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