name

package
v0.0.0-...-575f8db Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Url      string
	AbiFile  string
	Addr     common.Address
	Contract common.Address
	ChainID  int64
}

func (*Config) NewNameService

func (config *Config) NewNameService() (*NameService, error)

type NameService

type NameService struct {
	Config
	// contains filtered or unexported fields
}

func (*NameService) AddressToName

func (n *NameService) AddressToName(addr common.Address) (string, error)

func (*NameService) Close

func (n *NameService) Close()

func (*NameService) Query

func (n *NameService) Query(addr common.Address, force bool) string

func (*NameService) Run

func (n *NameService) Run(q chan common.Address, r chan map[common.Address]string)

func (*NameService) Stop

func (n *NameService) Stop()

Jump to

Keyboard shortcuts

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