uploader

package
v1.20.5 Latest Latest
Warning

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

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

Documentation

Overview

Package uploader provides a tool for saving byte buffers to Google Cloud Storage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Uploader

type Uploader interface {
	Upload(dir filename.System, contents []byte) error
}

Uploader is an interface for uploading data.

func Create

func Create(ctx context.Context, timeout time.Duration, client stiface.Client, bucketName string, namer namer.Namer) Uploader

Create and return a new object that implements Uploader.

Jump to

Keyboard shortcuts

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