reader

package
v0.0.42 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(r *reader)

func WithBucket

func WithBucket(bucket string) Option

func WithErrGroup added in v0.0.41

func WithErrGroup(eg errgroup.Group) Option

func WithKey

func WithKey(key string) Option

func WithService

func WithService(s *s3.S3) Option

type Reader

type Reader interface {
	Open(ctx context.Context) error
	io.ReadCloser
}

func New

func New(opts ...Option) Reader

Jump to

Keyboard shortcuts

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