Documentation ¶ Index ¶ type IpfsApi type IpfsCoreApi func StartIpfs(ctx context.Context, repoPath string) (*IpfsCoreApi, error) func (ipfs *IpfsCoreApi) Add(r io.Reader) (string, error) type StubIpfsApi func (s *StubIpfsApi) Add(r io.Reader) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type IpfsApi ¶ type IpfsApi interface { Add(r io.Reader) (string, error) } type IpfsCoreApi ¶ type IpfsCoreApi core.IpfsNode func StartIpfs ¶ func StartIpfs(ctx context.Context, repoPath string) (*IpfsCoreApi, error) func (*IpfsCoreApi) Add ¶ func (ipfs *IpfsCoreApi) Add(r io.Reader) (string, error) type StubIpfsApi ¶ type StubIpfsApi struct{} func (*StubIpfsApi) Add ¶ func (s *StubIpfsApi) Add(r io.Reader) (string, error) Source Files ¶ node.gostubnode.go Click to show internal directories. Click to hide internal directories.