Remove GetServer
This commit is contained in:
parent
2499930efe
commit
8002117b0a
|
|
@ -70,12 +70,6 @@ func (u *Unifi) getServer() error {
|
||||||
return u.GetData(StatusPath, &response)
|
return u.GetData(StatusPath, &response)
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetServer returns the controller's version and UUID.
|
|
||||||
// This method is deprecated and will go away in a future release, use u.Server*
|
|
||||||
func (u *Unifi) GetServer() (*server, error) {
|
|
||||||
return u.server, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
// GetClients returns a response full of clients' data from the Unifi Controller.
|
// GetClients returns a response full of clients' data from the Unifi Controller.
|
||||||
func (u *Unifi) GetClients(sites []Site) (Clients, error) {
|
func (u *Unifi) GetClients(sites []Site) (Clients, error) {
|
||||||
data := make([]Client, 0)
|
data := make([]Client, 0)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue