Help us shape the future of Go! Take the 2026 Go Developer Survey

ssh

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStorageBackend

func NewStorageBackend(opts Config, logFunc storage.Log) (storage.Backend, error)

NewStorageBackend creates and initializes a new SSH storage backend.

Types

type Config

type Config struct {
	HostName           string
	Port               string
	User               string
	Password           string
	IdentityFile       string
	IdentityPassphrase string
	RemotePath         string
}

Config allows to configure a SSH backend.

Jump to

Keyboard shortcuts

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