mirror of
https://github.com/MickMake/GoSungrow.git
synced 2025-04-10 04:39:14 +02:00
v3.0.0-alpha - mqtt changes
This commit is contained in:
parent
54400c1b4f
commit
7df1e9f3c9
1251
.idea/workspace.xml
generated
1251
.idea/workspace.xml
generated
File diff suppressed because it is too large
Load Diff
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -56,7 +56,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -56,7 +56,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"GoSungrow/iSolarCloud/api"
|
||||
"GoSungrow/iSolarCloud/api/GoStruct"
|
||||
"GoSungrow/iSolarCloud/api/GoStruct/valueTypes"
|
||||
"github.com/MickMake/GoUnify/Only"
|
||||
"fmt"
|
||||
"github.com/MickMake/GoUnify/Only"
|
||||
)
|
||||
|
||||
const Url = "/v1/devService/calculateDeviceDiscrete"
|
||||
@ -34,30 +34,11 @@ func (e *ResultData) IsValid() error {
|
||||
return err
|
||||
}
|
||||
|
||||
//type DecodeResultData ResultData
|
||||
//
|
||||
//func (e *ResultData) UnmarshalJSON(data []byte) error {
|
||||
// var err error
|
||||
//
|
||||
// for range Only.Once {
|
||||
// if len(data) == 0 {
|
||||
// break
|
||||
// }
|
||||
// var pd DecodeResultData
|
||||
//
|
||||
// // Store ResultData
|
||||
// _ = json.Unmarshal(data, &pd)
|
||||
// e.Dummy = pd.Dummy
|
||||
// }
|
||||
//
|
||||
// return err
|
||||
//}
|
||||
|
||||
func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"GoSungrow/iSolarCloud/api"
|
||||
"GoSungrow/iSolarCloud/api/GoStruct"
|
||||
"GoSungrow/iSolarCloud/api/GoStruct/valueTypes"
|
||||
"github.com/MickMake/GoUnify/Only"
|
||||
"fmt"
|
||||
"github.com/MickMake/GoUnify/Only"
|
||||
)
|
||||
|
||||
const Url = "/v1/devService/changeRemoteParam"
|
||||
@ -25,7 +25,7 @@ func (rd RequestData) Help() string {
|
||||
}
|
||||
|
||||
|
||||
type ResultData struct {
|
||||
type ResultData []struct {
|
||||
Dummy valueTypes.String `json:"dummy"`
|
||||
}
|
||||
|
||||
@ -34,30 +34,12 @@ func (e *ResultData) IsValid() error {
|
||||
return err
|
||||
}
|
||||
|
||||
//type DecodeResultData ResultData
|
||||
//
|
||||
//func (e *ResultData) UnmarshalJSON(data []byte) error {
|
||||
// var err error
|
||||
//
|
||||
// for range Only.Once {
|
||||
// if len(data) == 0 {
|
||||
// break
|
||||
// }
|
||||
// var pd DecodeResultData
|
||||
//
|
||||
// // Store ResultData
|
||||
// _ = json.Unmarshal(data, &pd)
|
||||
// e.Dummy = pd.Dummy
|
||||
// }
|
||||
//
|
||||
// return err
|
||||
//}
|
||||
|
||||
func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -56,7 +56,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -63,7 +63,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
@ -57,7 +57,7 @@ func (e *EndPoint) GetData() api.DataMap {
|
||||
entries := api.NewDataMap()
|
||||
|
||||
for range Only.Once {
|
||||
entries.StructToDataMap(*e, "system", nil)
|
||||
entries.StructToDataMap(*e, "system", GoStruct.EndPointPath{})
|
||||
}
|
||||
|
||||
return entries
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user