remote

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStorage

func NewStorage(c remote.Client, opts Options) storage.Storage

NewStorage creates a new remote Storage instance.

Types

type Options added in v0.15.0

type Options struct {
	// ErrorBehavior determines the error behavior for this remote storage.
	ErrorBehavior storage.ErrorBehavior
	// Name is this storage's name.
	Name string
}

Options contains options for remote clients.

Jump to

Keyboard shortcuts

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