Documentation
¶
Overview ¶
Package rsync adds file server and copying client to copy files between glow driver and agent.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchFilesTo ¶
Types ¶
type FileHash ¶
type FileHash struct {
FullPath string `json:"path,omitempty"`
File string `json:"file,omitempty"`
Hash uint32 `json:"hash,omitempty"`
}
func GenerateFileHash ¶
type ListFileResult ¶
type ListFileResult struct {
Files []FileHash `json:"files,omitempty"`
}
type RsyncServer ¶
type RsyncServer struct {
Ip string
Port int
ExecutableFile string
RelatedFiles []string
// contains filtered or unexported fields
}
func NewRsyncServer ¶
func NewRsyncServer(file string, relatedFiles []string) (*RsyncServer, error)
func (*RsyncServer) StartRsyncServer ¶
func (rs *RsyncServer) StartRsyncServer(listenOn string)
go start a http server locally that will respond predictably to ranged requests
Click to show internal directories.
Click to hide internal directories.