upload

package
v0.0.0-...-151ce6e Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenFTP

func OpenFTP() *ftp.ServerConn

func Upload

func Upload(server *ftp.ServerConn, ups []Up) error

Types

type LogsFTP

type LogsFTP struct {
	Host, Loggin, Password string
	Port                   int
}

type Up

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

func NewUp

func NewUp(filepath string) Up

func (*Up) Read

func (u *Up) Read(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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