component

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIPFSBinding

func NewIPFSBinding(logger logger.Logger) bindings.OutputBinding

NewIPFSBinding returns a new IPFSBinding.

Types

type IPFSBinding

type IPFSBinding struct {
	// contains filtered or unexported fields
}

IPFSBinding is a binding for interacting with an IPFS network.

func (*IPFSBinding) Close

func (b *IPFSBinding) Close() (err error)

func (*IPFSBinding) Init

func (b *IPFSBinding) Init(metadata bindings.Metadata) (err error)

Init the binding.

func (*IPFSBinding) Invoke

Invoke performs an HTTP request to the configured HTTP endpoint.

func (*IPFSBinding) Operations

func (b *IPFSBinding) Operations() []bindings.OperationKind

Operations returns the supported operations for this binding.

Jump to

Keyboard shortcuts

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