mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-11 19:08:20 +00:00
13 lines
268 B
Go
13 lines
268 B
Go
package config
|
|
|
|
import (
|
|
"nfsense.net/nfsense/internal/definitions/config"
|
|
)
|
|
|
|
func (m *ConfigManager) GetCurrentConfig() config.Config {
|
|
return *m.currentConfig.Clone()
|
|
}
|
|
|
|
func (m *ConfigManager) GetPendingConfig() config.Config {
|
|
return *m.pendingConfig.Clone()
|
|
}
|