chore: 并入 iotlcm-upstream-proxy 历史到 upstream-proxy/(原提交 44209ec)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package xjpubmodel
|
||||
|
||||
type InfoModel struct {
|
||||
Type string `json:"type"`
|
||||
Name string `json:"name"`
|
||||
Title string `json:"title"`
|
||||
Description string `json:"description"`
|
||||
Version string `json:"version"`
|
||||
Build string `json:"build"`
|
||||
Commit string `json:"commit"`
|
||||
Data map[string]interface{} `json:"data"`
|
||||
}
|
||||
|
||||
func NewInfoModel() *InfoModel {
|
||||
return &InfoModel{
|
||||
Data: make(map[string]interface{}),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user