file

package
v0.0.0-...-426e299 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WireSet = wire.NewSet(
	NewClient,
)

Functions

This section is empty.

Types

type Client

type Client interface {
	Write(ctx context.Context, fileName string) (io.WriteCloser, error)
	Read(ctx context.Context, fileName string) (io.ReadCloser, error)
}

func NewClient

func NewClient(downloadConfig configs.Download, logger *zap.Logger) (Client, error)

func NewLocalClient

func NewLocalClient(downloadConfig configs.Download, logger *zap.Logger) (Client, error)

func NewS3Client

func NewS3Client(downloadConfig configs.Download, logger *zap.Logger) (Client, error)

Jump to

Keyboard shortcuts

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