Implement api
This commit is contained in:
1 parent
80a99c425b
commit
b2e34c00a4
30 files changed
+708
-69
No files matched your search
+1
-10
@@ -6,17 +6,8 @@ import (
|
||||
"isp-config-service/entity/xtypes"
|
||||
)
|
||||
|
||||
type EventType int
|
||||
|
||||
const (
|
||||
Unknown EventType = iota
|
||||
ConfigUpdated
|
||||
ModuleReady
|
||||
ModuleDisconnected
|
||||
)
|
||||
|
||||
type Event struct {
|
||||
RowId int `json:"rowid"`
|
||||
Id int `json:"id"`
|
||||
Payload xtypes.Json[EventPayload] `json:"payload"`
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user