🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

github.com/go-http/qcloud-cns

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/go-http/qcloud-cns

v0.0.0-20180413090041-c5f8ec5d0c89
Source
Go
Version published
Created
Source

腾讯云云解析SDK

GoDoc

腾讯云 云解析模块API Go语言SDK

使用方法

go get github.com/athurg/go-qcloud-cns-sdk 

使用范例

package main

import (
	"github.com/athurg/go-qcloud-cns-sdk"
	"log"
)

func main() {
	cli := cns.New("secretId", "secretKey")
	domains, err := cli.DomainList()
	if err != nil {
		log.Fatal(err)
	}

	for _, domain := range domains {
		log.Println(domain)
	}
}

完成状态

  • 域名相关接口
    • 添加域名
    • 设置域名状态
    • 获取域名列表
    • 删除域名
  • 解析记录相关接口
    • 添加解析记录
    • 设置解析记录状态
    • 修改解析记录
    • 获取解析记录列表
    • 删除解析记录

FAQs

Package last updated on 13 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts