(oid string, size int64, path string, action *Action)
| 85 | } |
| 86 | |
| 87 | func NewCustomAdapterUploadRequest(oid string, size int64, path string, action *Action) *customAdapterTransferRequest { |
| 88 | return &customAdapterTransferRequest{"upload", oid, size, path, action} |
| 89 | } |
| 90 | func NewCustomAdapterDownloadRequest(oid string, size int64, action *Action) *customAdapterTransferRequest { |
| 91 | return &customAdapterTransferRequest{"download", oid, size, "", action} |
| 92 | } |