record

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Cmd 命令集
	Cmd = &cobra.Command{
		Use:   "record <subcommand>",
		Short: "域名解析管理",
	}
)

Functions

This section is empty.

Types

type DomainRecordList

type DomainRecordList struct {
	DomainRecords List `json:"DomainRecords"`
	PageNumber    int
	PageSize      int
	RequestID     string
	TotalCount    int
}

DomainRecordList 解析记录列表返回体

type List

type List struct {
	Records []Record `json:"Record"`
}

List 解析记录列表

type Log

type Log struct {
	Action          string `json:"Action"`
	ActionTime      string `json:"ActionTime"`
	ActionTimestamp int64  `json:"ActionTimestamp"`
	Message         string `json:"Message"`
}

Log 解析记录操作日志信息

type Logs

type Logs struct {
	Logs struct {
		RecordLog []Log `json:"RecordLog"`
	} `json:"RecordLogs"`
	PageNumber int    `json:"PageNumber"`
	PageSize   int    `json:"PageSize"`
	RequestID  string `json:"RequestID"`
	TotalCount int    `json:"TotalCount"`
}

Logs 解析记录操作日志列表

type Record

type Record struct {
	DomainName string `json:"DomainName"`
	Line       string `json:"Line"`
	Locked     bool   `json:"Locked"`
	RR         string `json:"RR"`
	RecordID   string `json:"RecordId"`
	Status     string `json:"Status"`
	TTL        int64  `json:"TTL"`
	Type       string `json:"Type"`
	Value      string `json:"Value"`
	Weight     int    `json:"Weight"`
	Remark     string `json:"Remark"`
}

Record 解析记录信息

Jump to

Keyboard shortcuts

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