dns

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2018 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SaveMethod = iota
	DeleMethod
)

Variables

This section is empty.

Functions

func DeleDNS

func DeleDNS(w http.ResponseWriter, r *http.Request)

DeleDNS 删除指定DNS记录 Key为需要删除的域名

func GetDNS

func GetDNS(w http.ResponseWriter, r *http.Request)

GetDNS 获取指定DNS记录 Key为需要查询的域名,支持模糊查询

func SaveDNS

func SaveDNS(w http.ResponseWriter, r *http.Request)

SaveDNS 保存DNS数据 Key为需要解析的域名 Value为相对应的A记录

Types

type DnsMeteData

type DnsMeteData struct {
	Key   string `json:"key"`
	Value vsvc   `json:"value"`
}

Jump to

Keyboard shortcuts

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