Mateusz Filipowicz
dca894e8e7
feat: use Client interface instead of client struct when interacting with UniFi SDK ( #21 )
...
* feat: use Client interface instead of client struct when interacting with UniFi SDK
Breaking change!
* chore: linting
* chore: linting
2025-02-17 09:38:41 +01:00
Mateusz Filipowicz
d79f581c1f
chore: apply linter fixes
2025-02-09 01:51:47 +01:00
Mateusz Filipowicz
f79f21c4ad
feat: new, more customizable client supporting API Key and user/password authentication
2025-02-09 01:51:47 +01:00
Joshua Spence
206f4be940
Make golangci-lint more strict ( #150 )
...
* Reformat some YAML files
* Make `golangci-lint` more strict
2023-06-23 09:00:12 +10:00
Paul Tyng
bb319b44af
Fix generate to use tool
2021-11-21 10:56:54 -05:00
Joshua Spence
ff2854e943
Implement Stringer interface for DeviceState ( #49 )
...
* Implement `Stringer` interface for `DeviceState`
If device adoption fails the error message isn't very readable at the moment.
```
Error: unexpected state '10', wanted target '2'.
```
* Use `stringer`
2021-09-24 13:55:12 +10:00
Joshua Spence
0cb7d3e514
Add AdoptDevice and ForgetDevice methods ( #45 )
...
* Add `AdoptDevice` and `ForgetDevice` methods
* Address comments
2021-09-17 11:16:56 +10:00
James Stephenson
6203ee9620
Renaming PortConf to PortProfile; cleanup Device API func names
2020-10-09 08:56:24 -04:00
James Stephenson
e93f92a066
Expose Device API
2020-10-09 08:56:24 -04:00