s3

package
v0.13.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*minio.Client
}

func NewClient

func NewClient(config Config) (s3Client *Client, err error)

func (*Client) GetObject

func (c *Client) GetObject(bucket, key string, opts GetObjectOptions) (stream io.ReadCloser, err error)

type Config

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

type GetObjectOptions

type GetObjectOptions = minio.GetObjectOptions

Jump to

Keyboard shortcuts

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