Asim Shankar | 80ad5a3 | 2015-10-21 13:52:59 -0700 | [diff] [blame] | 1 | // Copyright 2015 The Vanadium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | // +build ios |
| 6 | |
| 7 | // The paypal gatt library, which the ble plugin currently depends on doesn't work |
| 8 | // in iOS, so remove the ble plugin entirely for now. |
| 9 | |
| 10 | package factory |
| 11 | |
| 12 | import ( |
| 13 | "v.io/x/ref/lib/discovery" |
| 14 | "v.io/x/ref/lib/discovery/plugins/mdns" |
| 15 | ) |
| 16 | |
| 17 | var pluginFactories = map[string]func(host string) (discovery.Plugin, error){ |
| 18 | "mdns": mdns.New, |
| 19 | } |