2 configuration options · available in Rust, Python, Node.js, Java
use opendal::Operator;
let op = Operator::via_iter("ipfs", [
])?;
use opendal::Operator;
let op = Operator::via_iter("ipfs", [
// IPFS gateway endpoint.
// ("endpoint".to_string(), "...".to_string()),
// IPFS root.
// ("root".to_string(), "...".to_string()),
])?;
Every option is passed as a string key; OpenDAL parses it into the right type. Some services may require building the binding with the matching services-* feature enabled.
| Key | Type | Required | Description |
|---|---|---|---|
endpoint | string | no | IPFS gateway endpoint. |
root | string | no | IPFS root. |