datapool

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataPool

type DataPool struct {
	Client *sftp.Client
	Target TargetConfig
}

func New

func New(target TargetConfig) *DataPool

func (*DataPool) UploadFile

func (n *DataPool) UploadFile(name string, reader io.Reader) error

type TargetConfig

type TargetConfig struct {
	Host     string
	Port     string
	Username string
	Password string
	Path     string
	Notify   string
}

func GetTargetConfig

func GetTargetConfig() TargetConfig

Jump to

Keyboard shortcuts

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