client

package
v0.0.0-...-943f040 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteFileHandler

func DeleteFileHandler(nameNodeAddress string, remoteFilePath string, filename string) bool

func DeletePathHandler

func DeletePathHandler(nameNodeAddress string, remoteFilePath string) bool

func GetHandler

func GetHandler(nameNodeAddress string, remoteFilepath string, fileName string, localFilePath string) bool

func ListHandler

func ListHandler(nameNodeAddress string, remoteDirPath string) (fileInfo map[string]uint64)

func MkdirHandler

func MkdirHandler(nameNodeAddress string, remoteFilePath string) bool

func PutHandler

func PutHandler(nameNodeAddress string, sourcePath string, fileName string, remoteFilepath string) bool

PutHandler 给子进程发送put消息,返回是否put成功的结果

func ReNameFileHandler

func ReNameFileHandler(nameNodeAddress string, renameSrcPath string, renameDestPath string) bool

func ReNameHandler

func ReNameHandler(nameNodeAddress string, renameSrcPath string, renameDestPath string) bool

func StatHandler

func StatHandler(nameNodeAddress string, remoteFilePath string, fileName string) (filename string, filesize uint64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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