Merge branch 'main' of https://gitea.tecamino.com/paadi/pubSub
This commit is contained in:
@@ -3,7 +3,7 @@ package models
|
|||||||
import "encoding/json"
|
import "encoding/json"
|
||||||
|
|
||||||
type Data struct {
|
type Data struct {
|
||||||
Action string `json:"action"`
|
Action string `json:"action,omitempty"`
|
||||||
Topic string `json:"topic"`
|
Topic string `json:"topic"`
|
||||||
Data any `json:"data"`
|
Data any `json:"data"`
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user