files

package
v0.0.0-...-0355654 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileInfo

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

FileInfo file CRC to detect modified files

type Files

type Files struct {

	// config
	CVSDir    string
	CLRootDir string
	Mode      string
	// contains filtered or unexported fields
}

Files files

func New

func New(altLogger *shared.AltLogger) (*Files, error)

New new files

func (*Files) DoOperations

func (f *Files) DoOperations()

DoOperations read the files and upload data

func (*Files) SetConfig

func (f *Files) SetConfig(csvdir, clrootdir, mode string)

SetConfig set config

func (*Files) Setup

func (f *Files) Setup(liveURL, chOID, token string, date time.Time, duration int)

Setup check files at loaded

func (*Files) StartWatchers

func (f *Files) StartWatchers(date time.Time, duration int)

StartWatchers scan files

func (*Files) StopOperations

func (f *Files) StopOperations()

StopOperations StopOperations

func (*Files) StopWatchers

func (f *Files) StopWatchers()

StopWatchers stop watchers

Jump to

Keyboard shortcuts

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