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) Stop ¶
func (n *NameService) Stop()
Click to show internal directories.
Click to hide internal directories.