syncer

package
v0.0.0-...-c39ee49 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOneTimeSyncer

func NewOneTimeSyncer(syncer_config config.SyncerConfig, tf string)

func NewSyncer

func NewSyncer(syncer_config config.SyncerConfig, tf string)

Types

type SftpLocalSyncer

type SftpLocalSyncer struct {
	config.SyncerConfig
	// contains filtered or unexported fields
}

func (*SftpLocalSyncer) Start

func (syncer *SftpLocalSyncer) Start(c chan uploader.FileObj, done chan int)

func (*SftpLocalSyncer) Stop

func (syncer *SftpLocalSyncer) Stop()

type SftpServerSyncer

type SftpServerSyncer struct {
	config.SyncerConfig
	// contains filtered or unexported fields
}

func (*SftpServerSyncer) Start

func (syncer *SftpServerSyncer) Start(c chan downloader.FileObj, done chan int)

func (*SftpServerSyncer) Stop

func (syncer *SftpServerSyncer) Stop()

Jump to

Keyboard shortcuts

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