Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
/* 索引id (Optional) */
Id int `json:"id"`
/* 用户名 (Optional) */
UserPin string `json:"userPin"`
/* 账户ID (Optional) */
AccountId string `json:"accountId"`
/* 提供httpdns服务的IP (Optional) */
ServiceIp []string `json:"serviceIp"`
/* httpdns服务的密钥 (Optional) */
Key []string `json:"key"`
/* httpdns服务的密钥的状态,同key的序号对应 (Optional) */
KeyStatus []int `json:"keyStatus"`
/* 账户创建时间 (Optional) */
CreateTime int64 `json:"createTime"`
/* 账户更新时间 (Optional) */
UpdateTime int64 `json:"updateTime"`
/* 非鉴权方式是否可以访问httpdns服务,0:不可以,1:可以 (Optional) */
NoauthAccess int `json:"noauthAccess"`
/* 账户最多可以创建的域名 (Optional) */
DomainLimit int `json:"domainLimit"`
/* 账户状态,0:正常 1:使用80%流量,2:欠费 3:停服 (Optional) */
AccountStatus int `json:"accountStatus"`
}
type Dataplan ¶
type Dataplan struct {
/* 流量包索引ID (Optional) */
Id int `json:"id"`
/* 账户ID (Optional) */
AccountId string `json:"accountId"`
/* 这个流量包的总数 (Optional) */
Number float64 `json:"number"`
/* 这个流量包的单位 (Optional) */
Unit int `json:"unit"`
/* 这个流量包的起始时间 (Optional) */
StartTime int64 `json:"startTime"`
/* 这个流量包的过期时间 (Optional) */
ExpireTime int64 `json:"expireTime"`
/* 这个流量包使用过了的数量 (Optional) */
UsedNumber float64 `json:"usedNumber"`
/* 流量包的类型,1:免费流量包 2:收费包 (Optional) */
Type int `json:"type"`
/* 是否过期,0:未过期 1:过期了 (Optional) */
IsExpired int `json:"isExpired"`
}
type DataplanInfo ¶
type Domain ¶
type Domain struct {
/* 索引ID (Optional) */
Id int `json:"id"`
/* 账户ID (Optional) */
AccountId string `json:"accountId"`
/* 服务的域名 (Optional) */
DomainName string `json:"domainName"`
/* 域名创建时间 (Optional) */
CreateTime int64 `json:"createTime"`
/* 从本月1号开始到现在的httpdns总查询次数 (Optional) */
QueryCount int64 `json:"queryCount"`
/* 是否删除 (Optional) */
IsDelete int `json:"isDelete"`
}
type DomainData ¶
type Totalcount ¶
type TotalcountData ¶
type TotalcountData struct {
/* 域名查询次数数组 (Optional) */
DataList []Totalcount `json:"dataList"`
/* 当前页的个数 (Optional) */
CurrentCount int `json:"currentCount"`
/* 总数 (Optional) */
TotalCount int `json:"totalCount"`
/* 总页数 (Optional) */
TotalPage int `json:"totalPage"`
}
Click to show internal directories.
Click to hide internal directories.