integration

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT, Apache-2.0, MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToMA

func ToMA(u *url.URL) (*multiaddr.Multiaddr, error)

ToMA takes a url and converts it into a multiaddr. converts scheme://host:port/path -> /ip/host/tcp/port/scheme/urlescape{path}

func ToURL

func ToURL(ma multiaddr.Multiaddr) (*url.URL, error)

ToURL takes a multiaddr of the form: /dns/thing.com/http/urlescape<path/to/root> /ip/192.168.0.1/tcp/80/http

Types

type WalletInst

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

func NewWalletInst

func NewWalletInst() (*WalletInst, error)

func (*WalletInst) Start

func (inst *WalletInst) Start() (string, error)

func (*WalletInst) StopAndWait

func (inst *WalletInst) StopAndWait() error

Jump to

Keyboard shortcuts

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