Skip to content

Commit 60b11e9

Browse files
authored
Merge pull request #8 from arduino/update-lib
Update pluggable-discovery-protocol-handler to 1.2.0
2 parents 99bfe37 + 6cca542 commit 60b11e9

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.16
55
require (
66
github.com/arduino/go-paths-helper v1.6.1 // indirect
77
github.com/arduino/go-properties-orderedmap v1.5.0
8-
github.com/arduino/pluggable-discovery-protocol-handler v1.1.0
8+
github.com/arduino/pluggable-discovery-protocol-handler v1.2.0
99
github.com/brutella/dnssd v1.1.1
1010
github.com/miekg/dns v1.1.31 // indirect
1111
golang.org/x/crypto v0.0.0-20201002094018-c90954cbb977 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ github.com/arduino/go-paths-helper v1.6.1/go.mod h1:V82BWgAAp4IbmlybxQdk9Bpkz8M4
44
github.com/arduino/go-properties-orderedmap v1.4.0/go.mod h1:DKjD2VXY/NZmlingh4lSFMEYCVubfeArCsGPGDwb2yk=
55
github.com/arduino/go-properties-orderedmap v1.5.0 h1:istmr13qQN3nneuU3lsqlMvI6jqB3u8QUfVU1tX/t/8=
66
github.com/arduino/go-properties-orderedmap v1.5.0/go.mod h1:DKjD2VXY/NZmlingh4lSFMEYCVubfeArCsGPGDwb2yk=
7-
github.com/arduino/pluggable-discovery-protocol-handler v1.1.0 h1:/fYOQ9f6beV9+mv9rDs+kvkhNKJ1edIT0RvIRj5Jj4U=
8-
github.com/arduino/pluggable-discovery-protocol-handler v1.1.0/go.mod h1:vQfYGJnunfcscLoUcZKqJBlEkZ/qiE28TQj+RV9UT74=
7+
github.com/arduino/pluggable-discovery-protocol-handler v1.2.0 h1:gw6W8CtgGc+kh+DKfh+z6cUVPqaZh9Tu3XCt/uGgJUE=
8+
github.com/arduino/pluggable-discovery-protocol-handler v1.2.0/go.mod h1:vQfYGJnunfcscLoUcZKqJBlEkZ/qiE28TQj+RV9UT74=
99
github.com/brutella/dnssd v1.1.1 h1:Ar5ytE2Z9x5DTmuNnASlMTBpcQWQLm9ceHb326s0ykg=
1010
github.com/brutella/dnssd v1.1.1/go.mod h1:9gIcMKQSJvYlO2x+HR50cqqjghb9IWK9hvykmyveVVs=
1111
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=

main.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ func (d *MDNSDiscovery) Hello(userAgent string, protocolVersion int) error {
5050
return nil
5151
}
5252

53-
// Start handles the pluggable-discovery START command
54-
func (d *MDNSDiscovery) Start() error {
55-
return nil
56-
}
57-
5853
// Stop handles the pluggable-discovery STOP command
5954
func (d *MDNSDiscovery) Stop() error {
6055
if d.cancelFunc != nil {
@@ -68,11 +63,6 @@ func (d *MDNSDiscovery) Stop() error {
6863
func (d *MDNSDiscovery) Quit() {
6964
}
7065

71-
// List handles the pluggable-discovery LIST command
72-
func (d *MDNSDiscovery) List() ([]*discovery.Port, error) {
73-
return []*discovery.Port{}, nil
74-
}
75-
7666
// StartSync handles the pluggable-discovery START_SYNC command
7767
func (d *MDNSDiscovery) StartSync(eventCB discovery.EventCallback, errorCB discovery.ErrorCallback) error {
7868
addFn := func(srv dnssd.Service) {

0 commit comments

Comments
 (0)