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 ¶
func (b *IPFSBinding) Invoke(ctx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
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.
Click to show internal directories.
Click to hide internal directories.