[#1243] node/cfg: Add notification config
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
16543a1904
commit
5dba64fcc5
3 changed files with 19 additions and 5 deletions
|
@ -97,6 +97,8 @@ type cfg struct {
|
|||
|
||||
cfgObject cfgObject
|
||||
|
||||
cfgNotifications cfgNotifications
|
||||
|
||||
metricsCollector *metrics.StorageMetrics
|
||||
|
||||
workers []worker
|
||||
|
@ -183,6 +185,12 @@ type cfgObject struct {
|
|||
cfgLocalStorage cfgLocalStorage
|
||||
}
|
||||
|
||||
type cfgNotifications struct {
|
||||
enabled bool
|
||||
nw notificationWriter
|
||||
defaultTopic string
|
||||
}
|
||||
|
||||
type cfgLocalStorage struct {
|
||||
localStorage *engine.StorageEngine
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue