Files
go-unifi/unifi/setting_usg.go
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

14 lines
313 B
Go

package unifi
import (
"context"
)
func (c *client) GetSettingUsg(ctx context.Context, site string) (*SettingUsg, error) {
return c.getSettingUsg(ctx, site)
}
func (c *client) UpdateSettingUsg(ctx context.Context, site string, d *SettingUsg) (*SettingUsg, error) {
return c.updateSettingUsg(ctx, site, d)
}