s3

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New[T stream.Thing](
	io *session.Session,
	spec *stream.URL,
) stream.Stream[T]

Types

type Codec

type Codec[T stream.Thing] struct {
	// contains filtered or unexported fields
}

func NewCodec

func NewCodec[T stream.Thing](rootPath string) Codec[T]

func (Codec[T]) Decode

func (codec Codec[T]) Decode(obj *s3.GetObjectOutput) *T

func (Codec[T]) Encode

func (codec Codec[T]) Encode(entity T) *s3manager.UploadInput

func (Codec[T]) EncodeKey

func (codec Codec[T]) EncodeKey(key stream.Thing) string

Jump to

Keyboard shortcuts

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