object

package
v1.0.22 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrObjectNotFound = fmt.Errorf("Object Not Found")
View Source
var ErrObjectURLInvalid = fmt.Errorf("Object URL Not supported")

Functions

This section is empty.

Types

type Object added in v1.0.6

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

func New added in v1.0.6

func New(url string) (*Object, error)

func (*Object) Delete added in v1.0.6

func (o *Object) Delete() error

func (*Object) List added in v1.0.6

func (o *Object) List(recursive bool) ([]*ObjectResult, error)

func (*Object) Read added in v1.0.6

func (o *Object) Read(to io.Writer) error

func (*Object) Reset added in v1.0.6

func (o *Object) Reset(url string) error

func (*Object) SubPaths added in v1.0.18

func (o *Object) SubPaths() ([]string, error)

func (*Object) Write added in v1.0.6

func (o *Object) Write(from io.Reader) error

type ObjectResult added in v1.0.6

type ObjectResult struct {
	Url     string
	ModTime time.Time
}

Jump to

Keyboard shortcuts

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