Documentation
¶
Index ¶
- type ContentTaskData
- type ContentTaskObject
- type CreatePreloadConditions
- type CreatePreloadContentResponse
- type CreatePreloadRequest
- type CreateRefreshConditions
- type CreateRefreshContentResponse
- type CreateRefreshRequest
- type DomainData
- type FLowData
- type FlowObject
- type IspData
- type MetricData
- type MetricObject
- type PreloadContentData
- type QueryContentConditions
- type QueryContentRequest
- type QueryContentTaskResponse
- type QueryDomainRequest
- type QueryDomainResponse
- type QueryFlowConditions
- type QueryFlowRequest
- type QueryFlowResponse
- type QueryIspRequest
- type QueryIspResponse
- type QueryMetricConditions
- type QueryMetricRequest
- type QueryMetricResponse
- type QueryRegionRequest
- type QueryRegionResponse
- type QuerySrcConditions
- type QuerySrcRequest
- type QuerySrcResponse
- type RefreshContentData
- type RegionData
- type SrcData
- type SrcObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentTaskData ¶
type ContentTaskData struct {
TaskList []ContentTaskObject `json:"task_list"`
}
type ContentTaskObject ¶
type CreatePreloadConditions ¶
type CreatePreloadContentResponse ¶
type CreatePreloadContentResponse struct {
Ok bool `json:"ok"`
Msg string `json:"msg"`
Data PreloadContentData `json:"data,omitempty"`
TrackID string `json:"track_id"`
}
type CreatePreloadRequest ¶
type CreatePreloadRequest struct {
core.NCloudRequest
CreatePreloadConditions
}
func NewCreatePreloadContent ¶
func NewCreatePreloadContent(urls []string) *CreatePreloadRequest
func NewCreatePreloadContentWithParams ¶
func NewCreatePreloadContentWithParams(urls []string, startTime int64) *CreatePreloadRequest
type CreateRefreshConditions ¶
type CreateRefreshContentResponse ¶
type CreateRefreshContentResponse struct {
Ok bool `json:"ok"`
Msg string `json:"msg"`
Data PreloadContentData `json:"data,omitempty"`
TrackID string `json:"track_id"`
}
type CreateRefreshRequest ¶
type CreateRefreshRequest struct {
core.NCloudRequest
CreateRefreshConditions
}
func NewCreateRefreshContent ¶
func NewCreateRefreshContent(urls []string, refreshType string) *CreateRefreshRequest
type FLowData ¶
type FLowData struct {
Interval int64 `json:"interval"`
FlowList []FlowObject `json:"flow_list,omitempty"`
}
type FlowObject ¶
type MetricData ¶
type MetricData struct {
Interval int64 `json:"interval"`
MetricList []MetricObject `json:"metric_list,omitempty"`
}
type MetricObject ¶
type QueryContentConditions ¶
type QueryContentRequest ¶
type QueryContentRequest struct {
core.NCloudRequest
QueryContentConditions
}
func NewQueryContentRequestWithTaskID ¶
func NewQueryContentRequestWithTaskID(taskID string) *QueryContentRequest
func NewQueryContentRequestWithTime ¶
func NewQueryContentRequestWithTime(startTime, endTime int64) *QueryContentRequest
func (*QueryContentRequest) GetPath ¶
func (q *QueryContentRequest) GetPath() string
type QueryContentTaskResponse ¶
type QueryContentTaskResponse struct {
Ok bool `json:"ok"`
Msg string `json:"msg"`
Data ContentTaskData `json:"data,omitempty"`
TrackID string `json:"track_id"`
}
type QueryDomainRequest ¶
type QueryDomainRequest struct {
core.NCloudRequest
}
func NewQueryDomainsRequest ¶
func NewQueryDomainsRequest() *QueryDomainRequest
type QueryDomainResponse ¶
type QueryDomainResponse struct {
Ok bool `json:"ok"`
Msg string `json:"msg"`
Data DomainData `json:"data,omitempty"`
TrackID string `json:"track_id"`
}
type QueryFlowConditions ¶
type QueryFlowConditions struct {
StartTime int64 `json:"start_time"`
EndTime int64 `json:"end_time"`
Interval int64 `json:"interval"`
DomainList []string `json:"domain_list"`
IspList []string `json:"isp_list"`
RegionList []string `json:"region_list"`
NetLayerProtocol string `json:"net_layer_protocol"`
ApplicationLayerProtocol string `json:"application_layer_protocol"`
}
type QueryFlowRequest ¶
type QueryFlowRequest struct {
core.NCloudRequest
QueryFlowConditions
}
func NewQueryFlowRequest ¶
func NewQueryFlowRequest(startTime, endTime, interval int64) *QueryFlowRequest
func NewQueryFlowRequestWithDomains ¶
func NewQueryFlowRequestWithDomains(startTime, endTime, interval int64, list []string) *QueryFlowRequest
func (*QueryFlowRequest) SetApplicationLayerProtocol ¶
func (q *QueryFlowRequest) SetApplicationLayerProtocol(protocol string)
func (*QueryFlowRequest) SetIspList ¶
func (q *QueryFlowRequest) SetIspList(list []string)
func (*QueryFlowRequest) SetNetworkLayerProtocol ¶
func (q *QueryFlowRequest) SetNetworkLayerProtocol(protocol string)
func (*QueryFlowRequest) SetRegionList ¶
func (q *QueryFlowRequest) SetRegionList(list []string)
type QueryFlowResponse ¶
type QueryIspRequest ¶
type QueryIspRequest struct {
core.NCloudRequest
}
func NewQueryIspRequest ¶
func NewQueryIspRequest() *QueryIspRequest
type QueryIspResponse ¶
type QueryMetricConditions ¶
type QueryMetricRequest ¶
type QueryMetricRequest struct {
core.NCloudRequest
QueryMetricConditions
}
func NewQueryMetricRequest ¶
func NewQueryMetricRequest(startTime, endTime, interval int64) *QueryMetricRequest
func NewQueryMetricRequestWithDomains ¶
func NewQueryMetricRequestWithDomains(startTime, endTime, interval int64, list []string) *QueryMetricRequest
type QueryMetricResponse ¶
type QueryMetricResponse struct {
Ok bool `json:"ok"`
Msg string `json:"msg"`
TrackID string `json:"track_id"`
Data MetricData `json:"data"`
}
type QueryRegionRequest ¶
type QueryRegionRequest struct {
core.NCloudRequest
}
func NewQueryRegionRequest ¶
func NewQueryRegionRequest() *QueryRegionRequest
type QueryRegionResponse ¶
type QueryRegionResponse struct {
Ok bool `json:"ok"`
Msg string `json:"msg"`
Data RegionData `json:"data,omitempty"`
TrackID string `json:"track_id"`
}
type QuerySrcConditions ¶
type QuerySrcRequest ¶
type QuerySrcRequest struct {
core.NCloudRequest
QuerySrcConditions
}
func NewQuerySrcRequest ¶
func NewQuerySrcRequest(startTime, endTime, interval int64) *QuerySrcRequest
func NewQuerySrcRequestWithDomains ¶
func NewQuerySrcRequestWithDomains(startTime, endTime, interval int64, list []string) *QuerySrcRequest
type QuerySrcResponse ¶
type SrcData ¶
Source Files
¶
- createContent.go
- queryContent.go
- queryDomains.go
- queryFlow.go
- queryIsp.go
- queryMetric.go
- queryRegion.go
- querySrc.go
Click to show internal directories.
Click to hide internal directories.