address

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: AGPL-3.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 Addr added in v0.0.6

type Addr struct {
	Address  string
	Source   string
	Metadata map[string]string
	// contains filtered or unexported fields
}

func New added in v0.0.6

func New(address string) *Addr

func (*Addr) AddMetadata added in v0.0.6

func (a *Addr) AddMetadata(key, value string)

func (*Addr) Copy added in v0.0.6

func (a *Addr) Copy() *Addr

func (*Addr) Derive added in v0.0.8

func (a *Addr) Derive(newAddress string) *Addr

func (*Addr) Done added in v0.0.8

func (a *Addr) Done()

Done should be called when the address is done being used.

func (*Addr) SetCallback added in v0.0.8

func (a *Addr) SetCallback(callback func(addr *Addr))

Jump to

Keyboard shortcuts

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