oss

package
v0.0.0-...-0e6b51b Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 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 MinioSource

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

func NewMinioSource

func NewMinioSource(endpoint string, accessKey string, secretKey string, bucket string, useSSL bool) (*MinioSource, error)

func (*MinioSource) Del

func (S *MinioSource) Del(key string) error

func (*MinioSource) Get

func (S *MinioSource) Get(key string, header map[string]string) ([]byte, error)

func (*MinioSource) GetSignURL

func (S *MinioSource) GetSignURL(key string, expires time.Duration, header map[string]string) (string, error)

func (*MinioSource) GetURL

func (S *MinioSource) GetURL(key string) string

func (*MinioSource) Has

func (S *MinioSource) Has(key string) error

func (*MinioSource) PostSignURL

func (S *MinioSource) PostSignURL(key string, expires time.Duration) (string, map[string]string, error)

func (*MinioSource) Put

func (S *MinioSource) Put(key string, data []byte, header map[string]string) error

func (*MinioSource) PutSignURL

func (S *MinioSource) PutSignURL(key string, expires time.Duration) (string, error)

Jump to

Keyboard shortcuts

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