Skip to content

Commit 94b56ce

Browse files
authored
Merge pull request #14 from arduino/scerza/refactor
Refactors `mdns-discovery` to better handle `add` and `remove` events
2 parents 1eb4fb7 + 668fe97 commit 94b56ce

File tree

16 files changed

+290
-210
lines changed

16 files changed

+290
-210
lines changed

.licenses/mdns-discovery/go/github.com/brutella/dnssd.dep.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.licenses/mdns-discovery/go/github.com/brutella/dnssd/log.dep.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: github.com/hashicorp/mdns
3+
version: v1.0.4
4+
type: go
5+
summary:
6+
homepage: https://pkg.go.dev/github.com/hashicorp/mdns
7+
license: mit
8+
licenses:
9+
- sources: LICENSE
10+
text: |
11+
The MIT License (MIT)
12+
13+
Copyright (c) 2014 Armon Dadgar
14+
15+
Permission is hereby granted, free of charge, to any person obtaining a copy of
16+
this software and associated documentation files (the "Software"), to deal in
17+
the Software without restriction, including without limitation the rights to
18+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
19+
the Software, and to permit persons to whom the Software is furnished to do so,
20+
subject to the following conditions:
21+
22+
The above copyright notice and this permission notice shall be included in all
23+
copies or substantial portions of the Software.
24+
25+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
27+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
28+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
29+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
30+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31+
notices: []

.licenses/mdns-discovery/go/github.com/miekg/dns.dep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: github.com/miekg/dns
3-
version: v1.1.31
3+
version: v1.1.41
44
type: go
55
summary: Package dns implements a full featured interface to the Domain Name System.
66
homepage: https://pkg.go.dev/github.com/miekg/dns

.licenses/mdns-discovery/go/golang.org/x/crypto/ed25519.dep.yml

Lines changed: 0 additions & 62 deletions
This file was deleted.

.licenses/mdns-discovery/go/golang.org/x/net/bpf.dep.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
name: golang.org/x/net/bpf
3-
version: v0.0.0-20200930145003-4acb6c075d10
3+
version: v0.0.0-20210410081132-afb366fc7cd1
44
type: go
55
summary: Package bpf implements marshaling and unmarshaling of programs for the Berkeley
66
Packet Filter virtual machine, and provides a Go implementation of the virtual machine.
77
homepage: https://pkg.go.dev/golang.org/x/net/bpf
88
license: bsd-3-clause
99
licenses:
10-
- sources: [email protected]20200930145003-4acb6c075d10/LICENSE
10+
- sources: [email protected]20210410081132-afb366fc7cd1/LICENSE
1111
text: |
1212
Copyright (c) 2009 The Go Authors. All rights reserved.
1313
@@ -36,7 +36,7 @@ licenses:
3636
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3737
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3838
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39-
- sources: [email protected]20200930145003-4acb6c075d10/PATENTS
39+
- sources: [email protected]20210410081132-afb366fc7cd1/PATENTS
4040
text: |
4141
Additional IP Rights Grant (Patents)
4242

.licenses/mdns-discovery/go/golang.org/x/net/internal/iana.dep.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
name: golang.org/x/net/internal/iana
3-
version: v0.0.0-20200930145003-4acb6c075d10
3+
version: v0.0.0-20210410081132-afb366fc7cd1
44
type: go
55
summary: Package iana provides protocol number resources managed by the Internet Assigned
66
Numbers Authority (IANA).
77
homepage: https://pkg.go.dev/golang.org/x/net/internal/iana
88
license: bsd-3-clause
99
licenses:
10-
- sources: [email protected]20200930145003-4acb6c075d10/LICENSE
10+
- sources: [email protected]20210410081132-afb366fc7cd1/LICENSE
1111
text: |
1212
Copyright (c) 2009 The Go Authors. All rights reserved.
1313
@@ -36,7 +36,7 @@ licenses:
3636
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3737
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3838
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39-
- sources: [email protected]20200930145003-4acb6c075d10/PATENTS
39+
- sources: [email protected]20210410081132-afb366fc7cd1/PATENTS
4040
text: |
4141
Additional IP Rights Grant (Patents)
4242

.licenses/mdns-discovery/go/golang.org/x/net/internal/socket.dep.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: golang.org/x/net/internal/socket
3-
version: v0.0.0-20200930145003-4acb6c075d10
3+
version: v0.0.0-20210410081132-afb366fc7cd1
44
type: go
55
summary: Package socket provides a portable interface for socket system calls.
66
homepage: https://pkg.go.dev/golang.org/x/net/internal/socket
77
license: bsd-3-clause
88
licenses:
9-
- sources: [email protected]20200930145003-4acb6c075d10/LICENSE
9+
- sources: [email protected]20210410081132-afb366fc7cd1/LICENSE
1010
text: |
1111
Copyright (c) 2009 The Go Authors. All rights reserved.
1212
@@ -35,7 +35,7 @@ licenses:
3535
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3636
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3737
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38-
- sources: [email protected]20200930145003-4acb6c075d10/PATENTS
38+
- sources: [email protected]20210410081132-afb366fc7cd1/PATENTS
3939
text: |
4040
Additional IP Rights Grant (Patents)
4141

.licenses/mdns-discovery/go/golang.org/x/net/ipv4.dep.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
name: golang.org/x/net/ipv4
3-
version: v0.0.0-20200930145003-4acb6c075d10
3+
version: v0.0.0-20210410081132-afb366fc7cd1
44
type: go
55
summary: Package ipv4 implements IP-level socket options for the Internet Protocol
66
version 4.
77
homepage: https://pkg.go.dev/golang.org/x/net/ipv4
88
license: bsd-3-clause
99
licenses:
10-
- sources: [email protected]20200930145003-4acb6c075d10/LICENSE
10+
- sources: [email protected]20210410081132-afb366fc7cd1/LICENSE
1111
text: |
1212
Copyright (c) 2009 The Go Authors. All rights reserved.
1313
@@ -36,7 +36,7 @@ licenses:
3636
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3737
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3838
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39-
- sources: [email protected]20200930145003-4acb6c075d10/PATENTS
39+
- sources: [email protected]20210410081132-afb366fc7cd1/PATENTS
4040
text: |
4141
Additional IP Rights Grant (Patents)
4242

.licenses/mdns-discovery/go/golang.org/x/net/ipv6.dep.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
name: golang.org/x/net/ipv6
3-
version: v0.0.0-20200930145003-4acb6c075d10
3+
version: v0.0.0-20210410081132-afb366fc7cd1
44
type: go
55
summary: Package ipv6 implements IP-level socket options for the Internet Protocol
66
version 6.
77
homepage: https://pkg.go.dev/golang.org/x/net/ipv6
88
license: bsd-3-clause
99
licenses:
10-
- sources: [email protected]20200930145003-4acb6c075d10/LICENSE
10+
- sources: [email protected]20210410081132-afb366fc7cd1/LICENSE
1111
text: |
1212
Copyright (c) 2009 The Go Authors. All rights reserved.
1313
@@ -36,7 +36,7 @@ licenses:
3636
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3737
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3838
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39-
- sources: [email protected]20200930145003-4acb6c075d10/PATENTS
39+
- sources: [email protected]20210410081132-afb366fc7cd1/PATENTS
4040
text: |
4141
Additional IP Rights Grant (Patents)
4242

.licenses/mdns-discovery/go/golang.org/x/sys/internal/unsafeheader.dep.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
name: golang.org/x/sys/internal/unsafeheader
3-
version: v0.0.0-20200930185726-fdedc70b468f
3+
version: v0.0.0-20210330210617-4fbd30eecc44
44
type: go
55
summary: Package unsafeheader contains header declarations for the Go runtime's slice
66
and string implementations.
77
homepage: https://pkg.go.dev/golang.org/x/sys/internal/unsafeheader
88
license: bsd-3-clause
99
licenses:
10-
- sources: [email protected]20200930185726-fdedc70b468f/LICENSE
10+
- sources: [email protected]20210330210617-4fbd30eecc44/LICENSE
1111
text: |
1212
Copyright (c) 2009 The Go Authors. All rights reserved.
1313
@@ -36,7 +36,7 @@ licenses:
3636
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3737
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3838
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39-
- sources: [email protected]20200930185726-fdedc70b468f/PATENTS
39+
- sources: [email protected]20210330210617-4fbd30eecc44/PATENTS
4040
text: |
4141
Additional IP Rights Grant (Patents)
4242

.licenses/mdns-discovery/go/golang.org/x/sys/unix.dep.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: golang.org/x/sys/unix
3-
version: v0.0.0-20200930185726-fdedc70b468f
3+
version: v0.0.0-20210330210617-4fbd30eecc44
44
type: go
55
summary: Package unix contains an interface to the low-level operating system primitives.
66
homepage: https://pkg.go.dev/golang.org/x/sys/unix
77
license: bsd-3-clause
88
licenses:
9-
- sources: [email protected]20200930185726-fdedc70b468f/LICENSE
9+
- sources: [email protected]20210330210617-4fbd30eecc44/LICENSE
1010
text: |
1111
Copyright (c) 2009 The Go Authors. All rights reserved.
1212
@@ -35,7 +35,7 @@ licenses:
3535
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3636
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3737
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38-
- sources: [email protected]20200930185726-fdedc70b468f/PATENTS
38+
- sources: [email protected]20210330210617-4fbd30eecc44/PATENTS
3939
text: |
4040
Additional IP Rights Grant (Patents)
4141

0 commit comments

Comments
 (0)