Documentation ¶
Overview ¶
******************************************************************************
- Copyright 2017 Dell Inc.
- Copyright (c) 2019 Intel Corporation *
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- in compliance with the License. You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software distributed under the License
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- or implied. See the License for the specific language governing permissions and limitations under
- the License. ******************************************************************************
Index ¶
- func CheckLang(c *wsClient, data interface{}, code dtos.WsCode)
- func DeviceLibraryDelete(c *wsClient, data interface{}, code dtos.WsCode)
- func DeviceLibraryUpgrade(c *wsClient, data interface{}, code dtos.WsCode)
- func DeviceServiceLog(c *wsClient, data interface{}, code dtos.WsCode)
- func DeviceServiceRunStatus(c *wsClient, data interface{}, code dtos.WsCode)
- func StartReadServiceLog(c *wsClient, serviceId, logFilePath string, code dtos.WsCode)
- func StopReadServiceLog(c *wsClient, serviceId string, code dtos.WsCode)
- type SystemCheckLangReq
- type WsData
- type WsResponse
- type WsServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeviceLibraryDelete ¶
* receive: {"code":10003,"data":{"id":"3208327514"}}
func DeviceLibraryUpgrade ¶
* receive: {"code":10001,"data":{"id":"3208327514","version":"2.0.1"}}
func DeviceServiceLog ¶
* receive: {"code":10004,"data":{"id":"123291"}}
func DeviceServiceRunStatus ¶
* receive: {"code":10002,"data":{"id":"935769","run_status":1}}
func StartReadServiceLog ¶
func StopReadServiceLog ¶
Types ¶
type SystemCheckLangReq ¶
type SystemCheckLangReq struct {
Lang string `json:"lang"`
}
type WsResponse ¶
type WsResponse struct { Code dtos.WsCode `json:"code"` Data httphelper.CommonResponse `json:"data"` }
Click to show internal directories.
Click to hide internal directories.