itd/internal/types/types.go

22 lines
384 B
Go
Raw Normal View History

2021-08-21 08:19:49 +00:00
package types
type ReqDataFwUpgrade struct {
Type int
Files []string
}
type Response struct {
Value interface{} `json:"value,omitempty"`
Message string `json:"msg,omitempty"`
Error bool `json:"error"`
}
type Request struct {
Type string `json:"type"`
Data interface{} `json:"data,omitempty"`
}
type ReqDataNotify struct {
Title string
Body string
}