Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Idiomatic "DefaultShell" #69

Open
jbenet opened this issue Feb 2, 2018 · 0 comments
Open

Idiomatic "DefaultShell" #69

jbenet opened this issue Feb 2, 2018 · 0 comments

Comments

@jbenet
Copy link
Member

jbenet commented Feb 2, 2018

In most tools, i want to:

  • default to use a locally available ipfs node
  • default to use the global ipfs-gateway

in these cases, it would be nice to have something like:

import ipfs "github.com/ipfs/go-ipfs-api"

ipfsNode, err := ipfs.DefaultNode()

that does this for me.

contrun pushed a commit to contrun/go-ipfs-api that referenced this issue Jul 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant