* feat: use Client interface instead of client struct when interacting with UniFi SDK Breaking change! * chore: linting * chore: linting
11 lines
771 B
Go
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.
|