MCPcopy
hub / github.com/syncthing/syncthing / notify

Method notify

lib/nat/structs.go:58–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56}
57
58func (m *Mapping) notify() {
59 m.mut.RLock()
60 for _, subscriber := range m.subscribers {
61 subscriber()
62 }
63 m.mut.RUnlock()
64}
65
66func (m *Mapping) Protocol() Protocol {
67 return m.protocol

Callers 2

clearAddressesMethod · 0.95
updateMappingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected