datareader

package
v0.0.0-...-d72ca28 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DataTranspose tk.M

	FileCount        = 0
	DraftDir         = "Draft"
	ProcessDir       = "Process"
	SuccessDir       = "Success"
	ReaderConfigFile = "conf/reader.conf"
)

Functions

This section is empty.

Types

type DataReader

type DataReader struct {
	FileLocation string
	PathProcess  string
	PathRoot     string
	PathUpload   string
	SSHUser      string
	SSHServer    string
	ZipName      string
	FileName     string
}

func NewDataReader

func NewDataReader(fileLocation string, pathProcess string, pathRoot string, pathUpload, sshuser, sshserver string) *DataReader

func (*DataReader) SendFile

func (c *DataReader) SendFile(filename string)

func (*DataReader) Start

func (c *DataReader) Start(beginIndex int) (float64, error, time.Time, time.Time, int)

func (*DataReader) WriteFileSend

func (c *DataReader) WriteFileSend(_txt string)

Jump to

Keyboard shortcuts

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