ens

package
v0.0.0-...-d5bf036 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2017 License: GPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NameHash

func NameHash(name string) common.Hash

Types

type Registry

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

func New

func New(backend bind.ContractBackend, registryAddress common.Address, opts bind.TransactOpts) (*Registry, error)

func (*Registry) GetResolver

func (reg *Registry) GetResolver(name string) (*Resolver, error)

type Resolver

type Resolver struct {
	Address common.Address
	// contains filtered or unexported fields
}

func (*Resolver) GetRRs

func (res *Resolver) GetRRs() (rrs []dns.RR, err error)

func (*Resolver) GetTTL

func (res *Resolver) GetTTL() (uint64, error)

func (*Resolver) SetRRs

func (res *Resolver) SetRRs(rrs []dns.RR) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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