mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 13:09:49 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
b0ff006e6f
commit
5a18acd092
1 changed files with 4 additions and 0 deletions
|
@ -38,6 +38,10 @@ func NewBLE(newcb BLEDevNewCallback, lostcb BLEDevLostCallback) *BLE {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (b *BLE) Get(id string) (dev *BLEDevice, found bool) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
func (b *BLE) MarshalJSON() ([]byte, error) {
|
func (b *BLE) MarshalJSON() ([]byte, error) {
|
||||||
doc := bleJSON{
|
doc := bleJSON{
|
||||||
Devices: make([]*BLEDevice, 0),
|
Devices: make([]*BLEDevice, 0),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue