syncclient

package
v0.2.38 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandSync

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

CommandSync

func NewCommandSync

func NewCommandSync() *CommandSync

NewCommandSync

func NewCommandSyncByConfig added in v0.0.88

func NewCommandSyncByConfig(server syncconfig.SyncServer) *CommandSync

NewCommandSyncByConfig

func (*CommandSync) Run

func (c *CommandSync) Run(values ...interface{}) interface{}

Run

type FileSync

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

FileSync

func NewFileSync

func NewFileSync() *FileSync

NewFileSync

func NewFileSyncByConfig added in v0.0.86

func NewFileSyncByConfig(server syncconfig.SyncServer) *FileSync

NewFileSyncByConfig

func (*FileSync) Run

func (f *FileSync) Run(values ...interface{}) interface{}

Run

func (*FileSync) SendOneFile added in v0.0.72

func (f *FileSync) SendOneFile(fullName, RemotePath string) bool

func (*FileSync) SyncFile

func (f *FileSync) SyncFile(client *rpc.Client)

SyncFile 同步文件

Jump to

Keyboard shortcuts

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