joshuar-go-hass-agent/internal/api
Joshua Rich d50b78cd7d feat!: introduce a Config interface for the api
- 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.
2023-07-17 01:47:59 +00:00
..
config.go feat!: introduce a Config interface for the api 2023-07-17 01:47:59 +00:00
mock_Config_test.go feat!: introduce a Config interface for the api 2023-07-17 01:47:59 +00:00
mock_Request_test.go test!: replace mockery with moq 2023-07-10 10:59:30 +00:00
mock_Response_test.go test!: replace mockery with moq 2023-07-10 10:59:30 +00:00
request.go feat!: introduce a Config interface for the api 2023-07-17 01:47:59 +00:00
requestType.go feat!: major internal rewrite 2023-07-09 05:27:25 +00:00
request_test.go feat!: introduce a Config interface for the api 2023-07-17 01:47:59 +00:00
response.go test!: replace mockery with moq 2023-07-10 10:59:30 +00:00
websocket.go feat!: introduce a Config interface for the api 2023-07-17 01:47:59 +00:00