Documentation ¶
Overview ¶
Package yunos 包含YunOS相关结构体
Index ¶
- type AliyuncosmogatewayinvokeAPIRequest
- func (r AliyuncosmogatewayinvokeAPIRequest) GetApiMethodName() string
- func (r AliyuncosmogatewayinvokeAPIRequest) GetApiParams(params url.Values)
- func (r AliyuncosmogatewayinvokeAPIRequest) GetContext() *RdamContext
- func (r AliyuncosmogatewayinvokeAPIRequest) GetRawParams() model.Params
- func (r AliyuncosmogatewayinvokeAPIRequest) GetRdamRequest() *RdamGenericRequest
- func (r *AliyuncosmogatewayinvokeAPIRequest) SetContext(_context *RdamContext) error
- func (r *AliyuncosmogatewayinvokeAPIRequest) SetRdamRequest(_rdamRequest *RdamGenericRequest) error
- type AliyuncosmogatewayinvokeAPIResponse
- type AliyuncosmogatewayinvokeAPIResponseModel
- type DpResult
- type RdamContext
- type RdamGenericRequest
- type RdamResponse
- type YunoscosmodatapushAPIRequest
- func (r YunoscosmodatapushAPIRequest) GetApiMethodName() string
- func (r YunoscosmodatapushAPIRequest) GetApiParams(params url.Values)
- func (r YunoscosmodatapushAPIRequest) GetAppId() string
- func (r YunoscosmodatapushAPIRequest) GetJsonModel() string
- func (r YunoscosmodatapushAPIRequest) GetRawParams() model.Params
- func (r *YunoscosmodatapushAPIRequest) SetAppId(_appId string) error
- func (r *YunoscosmodatapushAPIRequest) SetJsonModel(_jsonModel string) error
- type YunoscosmodatapushAPIResponse
- type YunoscosmodatapushAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliyuncosmogatewayinvokeAPIRequest ¶ added in v1.3.1
type AliyuncosmogatewayinvokeAPIRequest struct { model.Params // contains filtered or unexported fields }
AliyuncosmogatewayinvokeAPIRequest alios cosmo服务调用 API请求 aliyun.cosmo.gateway.invoke
AliOS cosmo服务分发平台对外调用接口
func NewAliyuncosmogatewayinvokeRequest ¶ added in v1.3.1
func NewAliyuncosmogatewayinvokeRequest() *AliyuncosmogatewayinvokeAPIRequest
NewAliyuncosmogatewayinvokeRequest 初始化AliyuncosmogatewayinvokeAPIRequest对象
func (AliyuncosmogatewayinvokeAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AliyuncosmogatewayinvokeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliyuncosmogatewayinvokeAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AliyuncosmogatewayinvokeAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AliyuncosmogatewayinvokeAPIRequest) GetContext ¶ added in v1.3.1
func (r AliyuncosmogatewayinvokeAPIRequest) GetContext() *RdamContext
GetContext Context Getter
func (AliyuncosmogatewayinvokeAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AliyuncosmogatewayinvokeAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AliyuncosmogatewayinvokeAPIRequest) GetRdamRequest ¶ added in v1.3.1
func (r AliyuncosmogatewayinvokeAPIRequest) GetRdamRequest() *RdamGenericRequest
GetRdamRequest RdamRequest Getter
func (*AliyuncosmogatewayinvokeAPIRequest) SetContext ¶ added in v1.3.1
func (r *AliyuncosmogatewayinvokeAPIRequest) SetContext(_context *RdamContext) error
SetContext is Context Setter 请求上下文参数
func (*AliyuncosmogatewayinvokeAPIRequest) SetRdamRequest ¶ added in v1.3.1
func (r *AliyuncosmogatewayinvokeAPIRequest) SetRdamRequest(_rdamRequest *RdamGenericRequest) error
SetRdamRequest is RdamRequest Setter 请求对象
type AliyuncosmogatewayinvokeAPIResponse ¶ added in v1.3.1
type AliyuncosmogatewayinvokeAPIResponse struct { model.CommonResponse AliyuncosmogatewayinvokeAPIResponseModel }
AliyuncosmogatewayinvokeAPIResponse alios cosmo服务调用 API返回值 aliyun.cosmo.gateway.invoke
AliOS cosmo服务分发平台对外调用接口
type AliyuncosmogatewayinvokeAPIResponseModel ¶ added in v1.3.1
type AliyuncosmogatewayinvokeAPIResponseModel struct { XMLName xml.Name `xml:"aliyun_cosmo_gateway_invoke_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *RdamResponse `json:"result,omitempty" xml:"result,omitempty"` }
AliyuncosmogatewayinvokeAPIResponseModel is alios cosmo服务调用 成功返回结果
type DpResult ¶
type DpResult struct { // message Message string `json:"message,omitempty" xml:"message,omitempty"` // code Code int64 `json:"code,omitempty" xml:"code,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
DpResult 结构体
type RdamGenericRequest ¶
type RdamGenericRequest struct { // 请求标示 TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"` }
RdamGenericRequest 结构体
type RdamResponse ¶
type RdamResponse struct { // dataList DataList []string `json:"data_list,omitempty" xml:"data_list>string,omitempty"` // message Message string `json:"message,omitempty" xml:"message,omitempty"` // more More string `json:"more,omitempty" xml:"more,omitempty"` // traceId TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"` // biz_msg BizMsg string `json:"biz_msg,omitempty" xml:"biz_msg,omitempty"` // code Code int64 `json:"code,omitempty" xml:"code,omitempty"` // biz_code BizCode int64 `json:"biz_code,omitempty" xml:"biz_code,omitempty"` }
RdamResponse 结构体
type YunoscosmodatapushAPIRequest ¶ added in v1.3.1
YunoscosmodatapushAPIRequest COSMO-PUSH模式数据接入 API请求 yunos.cosmo.data.push
YunOS提供外部数据源接入,并输出到多端设备上,该接口提供了PUSH模式的数据接入
func NewYunoscosmodatapushRequest ¶ added in v1.3.1
func NewYunoscosmodatapushRequest() *YunoscosmodatapushAPIRequest
NewYunoscosmodatapushRequest 初始化YunoscosmodatapushAPIRequest对象
func (YunoscosmodatapushAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YunoscosmodatapushAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YunoscosmodatapushAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YunoscosmodatapushAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YunoscosmodatapushAPIRequest) GetAppId ¶ added in v1.3.1
func (r YunoscosmodatapushAPIRequest) GetAppId() string
GetAppId AppId Getter
func (YunoscosmodatapushAPIRequest) GetJsonModel ¶ added in v1.3.1
func (r YunoscosmodatapushAPIRequest) GetJsonModel() string
GetJsonModel JsonModel Getter
func (YunoscosmodatapushAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YunoscosmodatapushAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*YunoscosmodatapushAPIRequest) SetAppId ¶ added in v1.3.1
func (r *YunoscosmodatapushAPIRequest) SetAppId(_appId string) error
SetAppId is AppId Setter 业务方数据源唯一标识,由COSMO平台颁发
func (*YunoscosmodatapushAPIRequest) SetJsonModel ¶ added in v1.3.1
func (r *YunoscosmodatapushAPIRequest) SetJsonModel(_jsonModel string) error
SetJsonModel is JsonModel Setter 业务方推送数据,List结构的JSON序列化字符串
type YunoscosmodatapushAPIResponse ¶ added in v1.3.1
type YunoscosmodatapushAPIResponse struct { model.CommonResponse YunoscosmodatapushAPIResponseModel }
YunoscosmodatapushAPIResponse COSMO-PUSH模式数据接入 API返回值 yunos.cosmo.data.push
YunOS提供外部数据源接入,并输出到多端设备上,该接口提供了PUSH模式的数据接入
type YunoscosmodatapushAPIResponseModel ¶ added in v1.3.1
type YunoscosmodatapushAPIResponseModel struct { XMLName xml.Name `xml:"yunos_cosmo_data_push_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *DpResult `json:"result,omitempty" xml:"result,omitempty"` }
YunoscosmodatapushAPIResponseModel is COSMO-PUSH模式数据接入 成功返回结果