Versions in this module Expand all Collapse all v1 v1.2.0 Jul 22, 2021 v1.1.0 Jul 19, 2021 Changes in this version + type ErrorCallback func(err string) v1.0.0 Jul 19, 2021 Changes in this version + type Discovery interface + Hello func(userAgent string, protocolVersion int) error + List func() (portList []*Port, err error) + Quit func() + Start func() error + StartSync func(eventCB EventCallback) error + Stop func() error + type DiscoveryServer struct + func NewDiscoveryServer(impl Discovery) *DiscoveryServer + func (d *DiscoveryServer) Run(in io.Reader, out io.Writer) error + type EventCallback func(event string, port *Port) + type Port struct + Address string + AddressLabel string + Properties *properties.Map + Protocol string + ProtocolLabel string Other modules containing this package github.com/arduino/pluggable-discovery-protocol-handler/v2