minio

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(ipAddress, accessKeyID, secretAccessKey string) (gateway.ObjectReadWriteFinder, error)

Types

type Client

type Client struct {
	*minio.Client
}

func (*Client) Find

func (c *Client) Find(ctx context.Context, bucketName, objectName string) (bool, error)

func (*Client) Read

func (c *Client) Read(ctx context.Context, bucketName, objectName string) (io.ReadCloser, bool, error)

func (*Client) Write

func (c *Client) Write(ctx context.Context, bucketName, objectName string, reader io.Reader, objectSizeBytes int64) error

Jump to

Keyboard shortcuts

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