syncclient

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 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

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

func NewFileSyncByConfig(server syncconfig.SyncServer) *FileSync

NewFileSyncByConfig

func (*FileSync) Run

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

Run

func (*FileSync) SendOneFile

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