ssh

package module
v0.0.0-...-55df902 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: MIT Imports: 11 Imported by: 0

README

sshcopy

copy files over SSH with ease

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(srcPath, dstPath string) error

Types

type Connection

type Connection struct {
	Info Dict
	// contains filtered or unexported fields
}

func (*Connection) CreateFile

func (c *Connection) CreateFile(dstPath string) (*sftp.File, error)

type Dict

type Dict map[string]string

func (Dict) String

func (d Dict) String(key, fallback string) string

Jump to

Keyboard shortcuts

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