| 154 | } |
| 155 | |
| 156 | type nodeService struct { |
| 157 | logger logging.Logger |
| 158 | nodes map[string]*Node |
| 159 | mu sync.RWMutex |
| 160 | } |
| 161 | |
| 162 | func (s *nodeService) GetNode(ctx context.Context, id string) (*Node, error) { |
| 163 | s.mu.RLock() |
nothing calls this directly
no outgoing calls
no test coverage detected