arns

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArNS

type ArNS struct {
	DreUrl      string
	ArNSAddress string
	HttpClient  *http.Client
}

func NewArNS

func NewArNS(dreUrl string, arNSAddr string, timout time.Duration) *ArNS

func (*ArNS) GetArNSTxID

func (a *ArNS) GetArNSTxID(caAddress string, domain string) (txId string, err error)

func (*ArNS) QueryLatestRecord

func (a *ArNS) QueryLatestRecord(domain string) (txId string, err error)

func (*ArNS) QueryNameCa

func (a *ArNS) QueryNameCa(domain string) (caAddress string, err error)

Jump to

Keyboard shortcuts

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