cloudwriter

package
v0.0.0-...-c5fa70c Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudWriter

type CloudWriter interface {
	Write(data []byte) (int, error)
	Close() error
}

type CloudWriterFactory

type CloudWriterFactory interface {
	NewWriter(bucket, objectPath string) (CloudWriter, error)
}

type S3Writer

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

func (*S3Writer) Close

func (w *S3Writer) Close() error

func (*S3Writer) Write

func (w *S3Writer) Write(data []byte) (int, error)

type S3WriterFactory

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

func NewS3WriterFactory

func NewS3WriterFactory(region string) (*S3WriterFactory, error)

func (*S3WriterFactory) NewWriter

func (f *S3WriterFactory) NewWriter(bucket, objectPath string) (CloudWriter, error)

Jump to

Keyboard shortcuts

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