add files
This commit is contained in:
13
jsonResponse.go
Normal file
13
jsonResponse.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package models
|
||||
|
||||
type JsonResponse struct {
|
||||
Error *bool `json:"error,omitempty"`
|
||||
Message string `json:"message,omitempty"`
|
||||
Data string `json:"data,omitempty"`
|
||||
Event string `json:"event,omitempty"`
|
||||
Path string `json:"path,omitempty"`
|
||||
Value any `json:"value,omitempty"`
|
||||
Set *[]Set `json:"set,omitempty"`
|
||||
Subscribe *[]Subscribe `json:"subscribe,omitempty"`
|
||||
Unubscribe *[]Subscribe `json:"unsubscribe,omitempty"`
|
||||
}
|
Reference in New Issue
Block a user