major change of websocket dbmHandler structure
This commit is contained in:
10
models/jsonResponse.go
Normal file
10
models/jsonResponse.go
Normal file
@@ -0,0 +1,10 @@
|
||||
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"`
|
||||
}
|
Reference in New Issue
Block a user