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

Idiomatic "DefaultShell" #69

Open
Open
@jbenet

Description

@jbenet

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions