s3

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrWrapper

func ErrWrapper(err Err) error

Types

type DefLogger

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

func (*DefLogger) Logf

func (l *DefLogger) Logf(classification logging.Classification, format string, v ...interface{})

type Err

type Err int
const (
	UnknownErrCode Err = iota
	IllegalParams      // wrong params
)

func (Err) String

func (i Err) String() string

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithAddr

func WithAddr(addr string) Option

func WithConcurrency

func WithConcurrency(concurrency int) Option

func WithDebugInfo

func WithDebugInfo(debug bool) Option

func WithKey

func WithKey(key string) Option

func WithSecret

func WithSecret(secret string) Option

type S3

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

Jump to

Keyboard shortcuts

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