【文件属性】:
文件名称:go-namecheap:使用Namecheap API的Go库
文件大小:24KB
文件格式:ZIP
更新时间:2021-05-06 15:06:18
Go
便宜的
使用Go库。
生成状态:
例子
package main
import (
"fmt"
namecheap "github.com/billputer/go-namecheap"
)
func main () {
apiUser := "billwiens"
apiToken := "xxxxxxx"
userName := "billwiens"
client := namecheap . NewClient ( apiUser , apiToken , userName )
// Get a list of your domains
domains , _ := client . DomainsGetList ()
for _ , domain := range domains {
fmt . Printf ( "Domain: %
【文件预览】:
go-namecheap-master
----registrant_test.go(806B)
----domain_test.go(14KB)
----domain.go(7KB)
----sample-api-responses()
--------domains.getList.xml(3KB)
--------domains.getInfo.error.xml(529B)
--------domains.getInfo.xml(1KB)
----dns.go(3KB)
----ssl_test.go(10KB)
----.travis.yml(99B)
----LICENSE(1KB)
----registrant.go(4KB)
----README.md(1KB)
----Makefile(386B)
----ssl.go(4KB)
----ns.go(857B)
----whoisguard_test.go(5KB)
----namecheap_test.go(3KB)
----ns_test.go(2KB)
----whoisguard.go(3KB)
----namecheap.go(5KB)
----users.go(1KB)
----dns_test.go(5KB)