Port int `json:"Port"`
}
-// ErrorType structure
-type ErrorType struct {
- ErrorCode string `json:"ErrorCode"`
-}
-
// ServiceExecutionResponse structure
type ServiceExecutionResponse struct {
Status string `json:"Status"`
Return string `json:"Return"`
}
-// ServiceCreationResponse structure
-type ServiceCreationResponse struct {
- Status string `json:"Status"`
- ServiceList []ServiceCreationResponseItem `json:"ServiceList"`
-}
-
-// ServiceCreationResponseItem structure
-type ServiceCreationResponseItem struct {
- ID uint64 `json:"ID"`
- Time string `json:"Time"`
-}
-
-// MsgFormat structure
-type MsgFormat struct {
- Header MsgHeader `json:"Header"`
- Body interface{} `json:"Body"`
+// StatusNotification structure
+type StatusNotification struct {
+ ServiceID uint64 `json:"ServiceID"`
+ Status string `json:"Status"`
}
-// MsgHeader structure
-type MsgHeader struct {
- Type string `json:"Type"`
-}
-
-// ServiceReturnInfo structure
-type ServiceReturnInfo struct {
- ServiceID uint64 `json:"ServiceID"`
- ServiceName string `json:"ServiceName"`
- Status string `json:"Status"`
- DeviceIP string `json:"DeviceIP"`
-}
+// // ServiceReturnInfo structure
+// type ServiceReturnInfo struct {
+// ServiceID uint64 `json:"ServiceID"`
+// ServiceName string `json:"ServiceName"`
+// Status string `json:"Status"`
+// DeviceIP string `json:"DeviceIP"`
+// }
-//AppReturnInfo structure
-type AppReturnInfo struct {
- AppName string `json:"AppName"`
- ServiceList []ServiceReturnInfo `json:"ServiceList"`
-}
+// //AppReturnInfo structure
+// type AppReturnInfo struct {
+// AppName string `json:"AppName"`
+// ServiceList []ServiceReturnInfo `json:"ServiceList"`
+// }