forked from Elara6331/itd
Initial Commit
This commit is contained in:
22
internal/types/types.go
Normal file
22
internal/types/types.go
Normal file
@@ -0,0 +1,22 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user