models

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackSourceInfo added in v1.3.0

type BackSourceInfo struct {

	/*  (Optional) */
	Ips []IpSourceInfo `json:"ips"`

	/*  (Optional) */
	Domain []DomainSourceInfo `json:"domain"`

	/*  (Optional) */
	OssSource string `json:"ossSource"`
}

type CacheRule added in v1.3.0

type CacheRule struct {

	/*  (Optional) */
	Weight int `json:"weight"`

	/*  (Optional) */
	Ttl int64 `json:"ttl"`

	/*  (Optional) */
	Contents string `json:"contents"`

	/*  (Optional) */
	CreateTime string `json:"createTime"`

	/*  (Optional) */
	UpdateTime string `json:"updateTime"`

	/*  (Optional) */
	CacheType string `json:"cacheType"`
}

type DomainDetail

type DomainDetail struct {

	/*  (Optional) */
	Domain string `json:"domain"`

	/*  (Optional) */
	Cname string `json:"cname"`

	/*  (Optional) */
	ArchiveNo string `json:"archiveNo"`

	/*  (Optional) */
	Type string `json:"type"`

	/*  (Optional) */
	Created string `json:"created"`

	/*  (Optional) */
	Modified string `json:"modified"`

	/*  (Optional) */
	Status string `json:"status"`

	/*  (Optional) */
	AuditStatus string `json:"auditStatus"`

	/*  (Optional) */
	Source string `json:"source"`

	/*  (Optional) */
	SourceType string `json:"sourceType"`

	/*  (Optional) */
	BackSourceType string `json:"backSourceType"`

	/*  (Optional) */
	HttpType string `json:"httpType"`

	/*  (Optional) */
	Certificate string `json:"certificate"`

	/*  (Optional) */
	RsaKey string `json:"rsaKey"`

	/*  (Optional) */
	JumpType string `json:"jumpType"`
}

type DomainGroupItem added in v1.3.0

type DomainGroupItem struct {

	/* 域名组成员 (Optional) */
	Domains []string `json:"domains"`

	/* 主域名 (Optional) */
	PrimaryDomain string `json:"primaryDomain"`

	/* 是否共享缓存 (Optional) */
	ShareCache string `json:"shareCache"`

	/* 域名组名称 (Optional) */
	DomainGroupName string `json:"domainGroupName"`
}

type DomainSourceInfo added in v1.3.0

type DomainSourceInfo struct {

	/*  (Optional) */
	Priority int `json:"priority"`

	/*  (Optional) */
	SourceHost string `json:"sourceHost"`

	/*  (Optional) */
	Domain string `json:"domain"`
}

type IpSourceInfo added in v1.3.0

type IpSourceInfo struct {

	/*  (Optional) */
	Master int `json:"master"`

	/*  (Optional) */
	Ip string `json:"ip"`

	/*  (Optional) */
	Ratio float64 `json:"ratio"`
}

type ListDomainItem

type ListDomainItem struct {

	/*  (Optional) */
	Cname string `json:"cname"`

	/*  (Optional) */
	Description string `json:"description"`

	/*  (Optional) */
	Domain string `json:"domain"`

	/*  (Optional) */
	Created string `json:"created"`

	/*  (Optional) */
	Modified string `json:"modified"`

	/*  (Optional) */
	Status string `json:"status"`

	/*  (Optional) */
	Type string `json:"type"`

	/*  (Optional) */
	AuditStatus string `json:"auditStatus"`
}

type ProtocolConvert added in v1.3.0

type ProtocolConvert struct {

	/* 源协议,目前只能为rtmp (Optional) */
	SourceProtocol string `json:"sourceProtocol"`

	/* 目标协议 (Optional) */
	TargetProtocol string `json:"targetProtocol"`
}

type QueryHttpHeaderResp added in v1.3.0

type QueryHttpHeaderResp struct {

	/*  (Optional) */
	HeaderType string `json:"headerType"`

	/*  (Optional) */
	HeaderName string `json:"headerName"`

	/*  (Optional) */
	HeaderValue string `json:"headerValue"`

	/*  (Optional) */
	HeaderOp string `json:"headerOp"`
}

type SetSourceBody added in v1.3.0

type SetSourceBody struct {

	/* 回源类型只能是[ips,domain,oss]中的一种 (Optional) */
	SourceType string `json:"sourceType"`

	/* 回源类型,目前只能为rtmp (Optional) */
	BackSourceType string `json:"backSourceType"`

	/*  (Optional) */
	IpSource []IpSourceInfo `json:"ipSource"`

	/*  (Optional) */
	DomainSource []DomainSourceInfo `json:"domainSource"`

	/*  (Optional) */
	OssSource string `json:"ossSource"`

	/*  (Optional) */
	DefaultSourceHost string `json:"defaultSourceHost"`
}

type StatisticsData

type StatisticsData struct {

	/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
	StartTime string `json:"startTime"`

	/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
	EndTime string `json:"endTime"`

	/*  (Optional) */
	Domain string `json:"domain"`

	/*  (Optional) */
	DataItemList []StatisticsDataItem `json:"dataItemList"`
}

type StatisticsDataItem

type StatisticsDataItem struct {

	/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
	StartTime string `json:"startTime"`

	/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
	EndTime string `json:"endTime"`

	/* 查询结果,类型为HashMap<String, Object> (Optional) */
	Data interface{} `json:"data"`
}

type StatisticsGroupSumDataItem

type StatisticsGroupSumDataItem struct {

	/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
	StartTime string `json:"startTime"`

	/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
	EndTime string `json:"endTime"`

	/* 查询结果,类型为HashMap<String, Object> (Optional) */
	Data interface{} `json:"data"`
}

type StatisticsTopIpData

type StatisticsTopIpData struct {

	/*  (Optional) */
	Count int `json:"count"`

	/*  (Optional) */
	Ips []StatisticsTopIpItem `json:"ips"`
}

type StatisticsTopIpItem

type StatisticsTopIpItem struct {

	/*  (Optional) */
	Ip string `json:"ip"`

	/*  (Optional) */
	Rank int `json:"rank"`

	/*  (Optional) */
	Value int `json:"value"`

	/* 查询结果,类型为HashMap<String, Object> (Optional) */
	FullValue interface{} `json:"fullValue"`
}

type StatisticsTopUrlData

type StatisticsTopUrlData struct {

	/*  (Optional) */
	Count int `json:"count"`

	/*  (Optional) */
	Urls []StatisticsTopUrlItem `json:"urls"`
}

type StatisticsTopUrlItem

type StatisticsTopUrlItem struct {

	/*  (Optional) */
	Url string `json:"url"`

	/*  (Optional) */
	Rank int `json:"rank"`

	/*  (Optional) */
	Value int `json:"value"`

	/* 查询结果,类型为HashMap<String, Object> (Optional) */
	FullValue interface{} `json:"fullValue"`
}

type StatisticsWithAreaGroupDetail

type StatisticsWithAreaGroupDetail struct {

	/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
	StartTime string `json:"startTime"`

	/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
	EndTime string `json:"endTime"`

	/* null (Optional) */
	Data []StatisticsWithAreaGroupDetailItem `json:"data"`
}

type StatisticsWithAreaGroupDetailItem

type StatisticsWithAreaGroupDetailItem struct {

	/*  (Optional) */
	Area string `json:"area"`

	/* 查询结果,类型为HashMap<String, Object> (Optional) */
	IspStat interface{} `json:"ispStat"`
}

Jump to

Keyboard shortcuts

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