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

11 lines
771 B
Go

package unifi
// DEPRECATED: The content of this file has been refactored and split into separate files to improve maintainability and readability.
// Please refer to the following files for the actual implementation:
// - client.go: contains client, ClientConfig, Credentials, newClientInternal, NewClient, NewBareClient etc.
// - api_paths.go: contains API path constants and ApiPaths struct definitions.
// - interceptors.go: contains interceptor interface and implementations (ApiKeyAuthInterceptor, CsrfInterceptor, DefaultHeadersInterceptor).
// - requests.go: contains request handling functions (marshalRequest, createRequestURL, Do, Get, Post, Put, Delete, etc.).
// This file is left intentionally empty to avoid duplicate declarations. Will be removed soon.