remote

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: Apache-2.0 Imports: 7 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