s3

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(conf Config) (fs.FileSystem, error)

Types

type Config

type Config struct {
	Region          string // AWS 区域
	Endpoint        string // S3 服务地址(可选,用于兼容其他 S3 协议的存储服务)
	AccessKeyID     string // AccessKey
	SecretAccessKey string // SecretKey
	BucketName      string // 存储桶名称
	UsePathStyle    bool   // 是否使用路径样式访问
}

Jump to

Keyboard shortcuts

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