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