logs: interface instead of string.

This commit is contained in:
Miroslav Šedivý 2021-09-09 22:51:03 +02:00
parent afc79ed847
commit fb2c479325

View File

@ -32,9 +32,9 @@ type SystemAdmin struct {
type SystemLogs = []SystemLog type SystemLogs = []SystemLog
type SystemLog struct { type SystemLog struct {
Level string `json:"level"` Level string `json:"level"`
Fields map[string]string `json:"fields"` Fields map[string]interface{} `json:"fields"`
Message string `json:"message"` Message string `json:"message"`
} }
type SystemDisconnect struct { type SystemDisconnect struct {