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: 3 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 {
	// contains filtered or unexported fields
}

instance is a receiver that encapsulates required dependencies.

func New

func New(
	addressResultValue trinary.Hashes,
	addressResultError error,
	sendResultValue bundle.Bundle,
	sendResultError error) *Instance

New is a factory function that returns an initialized instance.

func (*Instance) GetNewAddress

func (i *Instance) GetNewAddress(_ trinary.Trytes, _ api.GetNewAddressOptions) (trinary.Hashes, error)

GetNewAddress is called to retrieve a new available address from the IOTA Tangle.

func (*Instance) SendTransfer

SendTransfer is called to send transactions to an IOTA Tangle.

Jump to

Keyboard shortcuts

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