Refactor and servercard ajustments
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
ycc
2023-11-27 00:31:43 +01:00
parent 432f449558
commit 420b7d0af0
5 changed files with 135 additions and 125 deletions

View File

@ -18,6 +18,7 @@ type Config struct {
Chunksize int64 `json:"chunksize,omitempty"`
ServerPollInterval int `json:"server_poll_interval,omitempty"`
DbSize int `json:"db_size,omitempty"`
UserAgent string `json:"user_agent,omitempty"`
// GUI
LastOpenChat string `json:"last_open_chat,omitempty"`
SoundNotificationEnable bool `json:"sound_notification_enable,omitempty"`
@ -41,9 +42,9 @@ type Config struct {
DbSuffix string `json:"db_suffix,omitempty"`
// Inner
memoryPassword string
additionalPasswords []string
me *Identity
memoryPassword string `json:"memory_password,omitempty"`
additionalPasswords []string `json:"additional_passwords,omitempty"`
me *Identity `json:"me,omitempty"`
}
var instance *Config