d50b78cd7d
- Add a new interface in the api package that holds the configuration variables required to make API (REST or websocket) requests. - Ensure the agent config satisfies this interface. - Pass the agent config, which satisfies the interface, to functions in the API package, that can then use its values to make requests. - Remove the now deprecate settings package which is no longer required, as the above changes eliminate its purpose. |
||
---|---|---|
.. | ||
mock_Registry_test.go | ||
mock_Sensor_test.go | ||
registry.go | ||
registry_nutsdb.go | ||
registry_nutsdb_test.go | ||
sensor.go | ||
sensor_test.go | ||
tracker.go |