| 142 | } |
| 143 | |
| 144 | type serverMetricsRecorder struct { |
| 145 | state atomic.Pointer[ServerMetrics] // the current metrics |
| 146 | } |
| 147 | |
| 148 | // NewServerMetricsRecorder returns an in-memory store for ServerMetrics and |
| 149 | // allows for safe setting and retrieving of ServerMetrics. Also implements |
nothing calls this directly
no outgoing calls
no test coverage detected