MCPcopy
hub / github.com/micro/go-micro / mdnsRegistry

Struct mdnsRegistry

registry/mdns_registry.go:40–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40type mdnsRegistry struct {
41 opts *Options
42 services map[string][]*mdnsEntry
43
44 // watchers
45 watchers map[string]*mdnsWatcher
46
47 // listener
48 listener chan *mdns.ServiceEntry
49 // the mdns domain
50 domain string
51
52 mtx sync.RWMutex
53
54 sync.Mutex
55}
56
57type mdnsWatcher struct {
58 wo WatchOptions

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected