s3

package
v0.0.0-...-82c8a6b Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blob

type Blob struct {
	vfs.FS
	// contains filtered or unexported fields
}

func NewBlob

func NewBlob(session *session.Session, bucket string, publicAccessUrl url.URL, internalAccessUrl url.URL, defaultExpire time.Duration) *Blob

func (*Blob) InternalUrl

func (b *Blob) InternalUrl(ctx context.Context, name string, args ...vfs.LinkOptions) (res *vfs.Link, err error)

func (*Blob) PreSignedURL

func (b *Blob) PreSignedURL(ctx context.Context, name string, args ...vfs.LinkOptions) (res *vfs.Link, err error)

func (*Blob) PublicUrl

func (b *Blob) PublicUrl(ctx context.Context, name string) (res *vfs.Link, err error)

Jump to

Keyboard shortcuts

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