minio

package
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Oss

type Oss struct {
	base.BaseOss
	// contains filtered or unexported fields
}

func (*Oss) Delete

func (s *Oss) Delete(endpoint string, key string) error

func (*Oss) GetObject

func (s *Oss) GetObject(endpoint string, key string) ([]byte, error)

func (*Oss) Init

func (s *Oss) Init()

func (*Oss) Upload

func (s *Oss) Upload(endpoint string, key string, data []byte, opt ...interface{}) error

func (*Oss) UploadFromFile added in v0.1.16

func (s *Oss) UploadFromFile(endpoint string, key string, filepath string, opt ...interface{}) error

Jump to

Keyboard shortcuts

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