xcmd_sync

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunWatcher

func RunWatcher(config Config)

func WatcherTest() {

func SftpCopyFile

func SftpCopyFile(localpath, remotepath string, config Config)

func SftpDeleteFile

func SftpDeleteFile(remotepath string, config Config)

Types

type Config

type Config struct {
	Username  string
	Password  string
	Host      string
	Port      int
	RemoteDir string
}

func LoadConfig

func LoadConfig() Config

func (Config) Save

func (c Config) Save()

Jump to

Keyboard shortcuts

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