mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
logs: interface instead of string.
This commit is contained in:
parent
afc79ed847
commit
fb2c479325
@ -32,9 +32,9 @@ type SystemAdmin struct {
|
||||
type SystemLogs = []SystemLog
|
||||
|
||||
type SystemLog struct {
|
||||
Level string `json:"level"`
|
||||
Fields map[string]string `json:"fields"`
|
||||
Message string `json:"message"`
|
||||
Level string `json:"level"`
|
||||
Fields map[string]interface{} `json:"fields"`
|
||||
Message string `json:"message"`
|
||||
}
|
||||
|
||||
type SystemDisconnect struct {
|
||||
|
Loading…
Reference in New Issue
Block a user