()
| 126 | } |
| 127 | |
| 128 | func (api *API) ListRegistrationServers() (names []string, addresses []string) { |
| 129 | return api.listServers(RegistrationServerBackend) |
| 130 | } |
| 131 | |
| 132 | func (api *API) listServers(backend string) (names []string, addresses []string) { |
| 133 | _, servers, err := api.client.Configuration.GetServers(backend, "") |