minioost

package
v1.1.42 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type St

type St struct {
	Client *minio.Client
}

func New

func New(uri, keyId, key string, secure bool) (*St, error)

func (*St) CreateBucket

func (o *St) CreateBucket(name string) error

func (*St) GetObject

func (o *St) GetObject(bucketName, name string) (io.ReadCloser, error)

func (*St) PutObject

func (o *St) PutObject(bucketName, name string, data io.Reader, contentType string) error

func (*St) RemoveObject

func (o *St) RemoveObject(bucketName, name string) error

Jump to

Keyboard shortcuts

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