uploader

package
v0.0.0-...-7c29cea Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2017 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SFtpUploader

type SFtpUploader struct {
	// contains filtered or unexported fields
}

SFtpUploader is sftp implementation of vetbbedit.UploaderService

func New

func New(host string, port uint, user, password, tgtDir string) *SFtpUploader

New creates initialized SFtpUploader structure

func (*SFtpUploader) Upload

func (u *SFtpUploader) Upload(fromDir string) error

Upload uploads generated page to server using ssh protocol TODO Upload all generated files, not just index.html

Jump to

Keyboard shortcuts

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