absto

package
v1.7.9 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config *Config, tracerProvider trace.TracerProvider) (storage model.Storage, err error)

Types

type Config

type Config struct {
	Directory    string
	Endpoint     string
	AccessKey    string
	SecretAccess string
	Bucket       string
	Region       string
	StorageClass string
	UseSSL       bool
	PartSize     uint64
}

func Flags

func Flags(fs *flag.FlagSet, prefix string, overrides ...flags.Override) *Config

Jump to

Keyboard shortcuts

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