stub

package
v0.0.0-...-be3778f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	CapturedURL         string
	CapturedAnnotations []byte
	// contains filtered or unexported fields
}

Instance is a receiver that encapsulates required dependencies.

func New

func New(resultValue string, resultError error) *Instance

New is a factory function that returns an initialized Instance.

func (*Instance) Add

func (i *Instance) Add(url string, annotations []byte) (string, error)

Add is called to add annotations to the IPFS instance that resides at url.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL