(oid string, size int64, action *Action)
| 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 | } |
| 93 | |
| 94 | type customAdapterTerminateRequest struct { |
| 95 | Event string `json:"event"` |