# Packages
No description provided by the author
# Functions
ActivePreAuth 主动身份验证,先给目标发送密钥,然后接受返回的密钥做验证.
CreateFile 检查给你定的路径是否合法,不存在的话是否可创建。如果上传的文件要保存的路径已经有文件了,是覆盖还是重命名.
DeleteBlockFlag 将文件尾的后缀删除掉.
GetMissBlock 检查文文件是否缺失某个分段.
No description provided by the author
No description provided by the author
NewProxy peer addr为要链接的目标,proxy为代理.
PassivePreAuth 被动身份验证,接受别人发送的密钥做验证,然后在返密钥给别人.
ReadFileBlock 读取文件指定位置的数据.
No description provided by the author
WriteFileBlock 写入内容到文件指定位置,并在文件尾标记分段写入完成.
# Constants
No description provided by the author
完成传输一段长度的文件.
传输完成.
为什么要有这个删除呢,因为admin在传输过成功将文件发送出去就判定为传输成功,但是最后agent在检查的时候可能会有缺失,所以这时候就会重新传输,所以要减去一部分.
No description provided by the author
文件传输开始.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
DownstreamConnection 子节点与上级节点的连接和密码.
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
FileManagerInfo 文件上传下载的基本信息.
No description provided by the author
No description provided by the author
Proxy 使用代理去连接目标.
Status 文件传输状态的标记.
No description provided by the author
UploadFileEnd 节点控制系统的消息通知.
UploadFileStart 节点控制系统的消息通知.