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 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 解析记录信息
Click to show internal directories.
Click to hide internal directories.