mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-05-06 02:07:49 +08:00
Update ext field type of heartbeat message (#13490)
### What problem does this PR solve? As title ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@ -21,13 +21,13 @@ const (
|
||||
)
|
||||
|
||||
type BaseMessage struct {
|
||||
MessageID int64 `json:"report_id"`
|
||||
MessageType MessageType `json:"report_type"`
|
||||
ServerName string `json:"server_id"`
|
||||
ServerType ServerType `json:"server_type"`
|
||||
Host string `json:"host"`
|
||||
Port int `json:"port"`
|
||||
Version string `json:"version"`
|
||||
Timestamp time.Time `json:"timestamp"`
|
||||
Ext map[string]interface{} `json:"ext,omitempty"`
|
||||
MessageID int64 `json:"report_id"`
|
||||
MessageType MessageType `json:"report_type"`
|
||||
ServerName string `json:"server_id"`
|
||||
ServerType ServerType `json:"server_type"`
|
||||
Host string `json:"host"`
|
||||
Port int `json:"port"`
|
||||
Version string `json:"version"`
|
||||
Timestamp time.Time `json:"timestamp"`
|
||||
Ext interface{} `json:"ext,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user