writer

package
v0.0.0-...-c6c462e Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FSWriter

type FSWriter struct {
}

func (*FSWriter) WriteFile

func (w *FSWriter) WriteFile(path string, reader io.Reader) (err error)

type S3Writer

type S3Writer struct {
	Bucket string
	Client *s3.Client
}

func (*S3Writer) WriteFile

func (w *S3Writer) WriteFile(path string, reader io.Reader) (err error)

type Writer

type Writer interface {
	WriteFile(path string, reader io.Reader) error
}

Jump to

Keyboard shortcuts

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