package entity import "time" // RPC相关结构体 type UploadArgs struct { Stream []byte // 客户端将文件数据传递过来 Gzip bool //是否压缩 BucketID string //桶id ObjectName string //对象名称 } type Args struct { BucketID string //桶id ObjectName string //对象名称 Timeout time.Duration //超时时间 }