mirror of
https://github.com/mrusme/neonmodem.git
synced 2024-12-04 14:46:37 -05:00
Added mock GetConfig/SetConfig functions
This commit is contained in:
parent
f8caeaeda9
commit
4433ba3476
@ -6,6 +6,15 @@ import (
|
||||
)
|
||||
|
||||
type System struct {
|
||||
config map[string]interface{}
|
||||
}
|
||||
|
||||
func (sys *System) GetConfig() map[string]interface{} {
|
||||
return sys.config
|
||||
}
|
||||
|
||||
func (sys *System) SetConfig(cfg *map[string]interface{}) {
|
||||
sys.config = *cfg
|
||||
}
|
||||
|
||||
func (sys *System) Load() error {
|
||||
|
Loading…
Reference in New Issue
Block a user