Documentation
¶
Index ¶
- type CreateTcpTaskConditions
- type EdgeInfo
- type EdgeListResult
- type ErrResponse
- type PageInfo
- type QueryCityRequest
- type QueryCityResponse
- type QueryCountryRequest
- type QueryCountryResponse
- type QueryEdgeConditions
- type QueryEdgeListGetRequest
- func (r *QueryEdgeListGetRequest) SetCity(city string)
- func (r *QueryEdgeListGetRequest) SetContinent(continent string)
- func (r *QueryEdgeListGetRequest) SetCountry(country string)
- func (r *QueryEdgeListGetRequest) SetIsOnline(isOnline bool)
- func (r *QueryEdgeListGetRequest) SetTotal(total int64)
- func (r *QueryEdgeListGetRequest) SetUUIDList(uuidList []string)
- type QueryEdgeListGetResponse
- type QueryTaskConditions
- type QueryTaskRequest
- type QueryTcpTaskConditions
- type QueryTcpTaskRequest
- type QueryTcpTaskResponse
- type QueryTcpTaskResult
- type RegionObject
- type TcpTaskCreateRequest
- type TcpTaskCreateResponse
- type TcpTaskCreateResult
- type TcpTaskDetail
- type TcpTaskInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateTcpTaskConditions ¶
type CreateTcpTaskConditions struct {
List []TcpTaskInfo `json:"list"`
CallbackUrl string `json:"callback_url,omitempty"`
}
type EdgeListResult ¶
type ErrResponse ¶
type QueryCityRequest ¶
type QueryCityRequest struct {
core.NCloudRequest
}
func NewQueryCityRequest ¶
func NewQueryCityRequest() *QueryCityRequest
type QueryCityResponse ¶
type QueryCityResponse struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data []RegionObject `json:"data"`
TrackID string `json:"track_id"`
}
type QueryCountryRequest ¶
type QueryCountryRequest struct {
core.NCloudRequest
}
func NewQueryCountryRequest ¶
func NewQueryCountryRequest() *QueryCountryRequest
type QueryCountryResponse ¶
type QueryCountryResponse struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data []RegionObject `json:"data"`
TrackID string `json:"track_id"`
}
type QueryEdgeConditions ¶
type QueryEdgeListGetRequest ¶
type QueryEdgeListGetRequest struct {
core.NCloudRequest
QueryEdgeConditions
}
func NewQueryEdgeListGetRequest ¶
func NewQueryEdgeListGetRequest(continent string, total int64) *QueryEdgeListGetRequest
func NewQueryEdgeListGetRequestWithParams ¶
func NewQueryEdgeListGetRequestWithParams(continent, country, city string, total int64, uuidList []string, isOnline bool) *QueryEdgeListGetRequest
func (*QueryEdgeListGetRequest) SetCity ¶
func (r *QueryEdgeListGetRequest) SetCity(city string)
func (*QueryEdgeListGetRequest) SetContinent ¶
func (r *QueryEdgeListGetRequest) SetContinent(continent string)
func (*QueryEdgeListGetRequest) SetCountry ¶
func (r *QueryEdgeListGetRequest) SetCountry(country string)
func (*QueryEdgeListGetRequest) SetIsOnline ¶
func (r *QueryEdgeListGetRequest) SetIsOnline(isOnline bool)
func (*QueryEdgeListGetRequest) SetTotal ¶
func (r *QueryEdgeListGetRequest) SetTotal(total int64)
func (*QueryEdgeListGetRequest) SetUUIDList ¶
func (r *QueryEdgeListGetRequest) SetUUIDList(uuidList []string)
type QueryEdgeListGetResponse ¶
type QueryEdgeListGetResponse struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data EdgeListResult `json:"data"`
TrackID string `json:"track_id"`
}
type QueryTaskConditions ¶
type QueryTaskConditions struct {
TaskID string `json:"task_id"`
}
type QueryTaskRequest ¶
type QueryTaskRequest struct {
core.NCloudRequest
QueryTaskConditions
}
func NewQueryTaskRequestWithParams ¶
func NewQueryTaskRequestWithParams(taskID string) *QueryTaskRequest
type QueryTcpTaskConditions ¶
type QueryTcpTaskConditions struct {
TaskID string `json:"task_id"`
}
type QueryTcpTaskRequest ¶
type QueryTcpTaskRequest struct {
core.NCloudRequest
QueryTcpTaskConditions
}
func NewQueryTcpTaskRequestWithParams ¶
func NewQueryTcpTaskRequestWithParams(taskID string) *QueryTcpTaskRequest
type QueryTcpTaskResponse ¶
type QueryTcpTaskResponse struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data QueryTcpTaskResult `json:"data"`
TrackID string `json:"track_id"`
}
type QueryTcpTaskResult ¶
type QueryTcpTaskResult struct {
List []TcpTaskDetail `json:"details_list"`
TaskID string `json:"task_id"`
Schedule float64 `json:"schedule"` //完成进度
}
type RegionObject ¶
type TcpTaskCreateRequest ¶
type TcpTaskCreateRequest struct {
core.NCloudRequest
CreateTcpTaskConditions
}
func NewTcpTaskCreateRequestWithParams ¶
func NewTcpTaskCreateRequestWithParams(list []TcpTaskInfo, callbackUrl string) *TcpTaskCreateRequest
func NewTcpTaskCreateRequestWithTcpTaskList ¶
func NewTcpTaskCreateRequestWithTcpTaskList(list []TcpTaskInfo) *TcpTaskCreateRequest
func (*TcpTaskCreateRequest) SetCallbackUrl ¶
func (r *TcpTaskCreateRequest) SetCallbackUrl(callbackUrl string)
func (*TcpTaskCreateRequest) SetTcpTaskList ¶
func (r *TcpTaskCreateRequest) SetTcpTaskList(list []TcpTaskInfo)
type TcpTaskCreateResponse ¶
type TcpTaskCreateResponse struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data TcpTaskCreateResult `json:"data"`
TrackID string `json:"track_id"`
}
type TcpTaskCreateResult ¶
type TcpTaskCreateResult struct {
TaskID string `json:"task_id"`
}
type TcpTaskDetail ¶
Click to show internal directories.
Click to hide internal directories.