Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStorage ¶
func NewStorage(c remote.Client, opts RemoteOptions) storage.Storage
NewStorage creates a new remote Storage instance.
Types ¶
type RemoteOptions ¶ added in v0.13.0
type RemoteOptions struct {
// ErrorBehavior determines the error behavior for this remote storage.
ErrorBehavior storage.ErrorBehavior
// Name is this storage's name.
Name string
}
RemoteOptions contains options for remote clients.
Click to show internal directories.
Click to hide internal directories.