Remove GetServer

This commit is contained in:
davidnewhall2 2019-07-07 20:28:24 -07:00
parent 2499930efe
commit 8002117b0a
1 changed files with 0 additions and 6 deletions

View File

@ -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)