| 28 | } |
| 29 | |
| 30 | type memRegistry struct { |
| 31 | options *Options |
| 32 | |
| 33 | records map[string]map[string]*record |
| 34 | watchers map[string]*memWatcher |
| 35 | |
| 36 | sync.RWMutex |
| 37 | } |
| 38 | |
| 39 | func NewMemoryRegistry(opts ...Option) Registry { |
| 40 | options := NewOptions(opts...) |
nothing calls this directly
no outgoing calls
no test coverage detected