generated from thinkode/modelRepository
implement devices
This commit is contained in:
@@ -15,7 +15,7 @@ type Manager struct {
|
||||
wg sync.WaitGroup
|
||||
|
||||
providers map[string]Provider // The map of endpoints providers
|
||||
devices map[string]Device // The map of devices
|
||||
devices map[string]*Device // The map of devices
|
||||
DetectedEndpoints map[string]Endpoint // The current list of endpoints
|
||||
SavedEndpoints map[string]EndpointInfo // The list of stored endpoints
|
||||
}
|
||||
@@ -25,7 +25,7 @@ func NewManager() *Manager {
|
||||
log.Trace().Str("package", "hardware").Msg("Hardware instance created")
|
||||
return &Manager{
|
||||
providers: make(map[string]Provider, 0),
|
||||
devices: make(map[string]Device, 0),
|
||||
devices: make(map[string]*Device, 0),
|
||||
DetectedEndpoints: make(map[string]Endpoint, 0),
|
||||
SavedEndpoints: make(map[string]EndpointInfo, 0),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user